]> git.saurik.com Git - android/aapt.git/blobdiff - XMLNode.cpp
add "junk path" -k option to aapt (DO NOT MERGE)
[android/aapt.git] / XMLNode.cpp
index 832ba6ca6c5f767e00b92608b0526a229492d301..d4d2a45c2d0f592e1c4ee741575d8dd67a2b673d 100644 (file)
@@ -219,8 +219,13 @@ moveon:
             }
             spanStack.pop();
 
-            if (empty) {
-                fprintf(stderr, "%s:%d: WARNING: empty '%s' span found in text '%s'\n",
+            /*
+             * 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());