]> git.saurik.com Git - android/aapt.git/blobdiff - XMLNode.cpp
am a1d08886: Merge "Only output proguard keep for nonempty attribute name in the...
[android/aapt.git] / XMLNode.cpp
index 6daa0d206da62065111102bf20c68b21d4fb6b17..d4d2a45c2d0f592e1c4ee741575d8dd67a2b673d 100644 (file)
@@ -219,7 +219,12 @@ moveon:
             }
             spanStack.pop();
 
-            if (empty) {
+            /*
+             * This warning seems to be just an irritation to most people,
+             * since it is typically introduced by translators who then never
+             * see the warning.
+             */
+            if (0 && empty) {
                 fprintf(stderr, "%s:%d: warning: empty '%s' span found in text '%s'\n",
                         fileName, inXml->getLineNumber(),
                         String8(spanTag).string(), String8(*outString).string());