]> git.saurik.com Git - android/aapt.git/blobdiff - XMLNode.cpp
merge from open-source master
[android/aapt.git] / XMLNode.cpp
index 832ba6ca6c5f767e00b92608b0526a229492d301..d4d2a45c2d0f592e1c4ee741575d8dd67a2b673d 100644 (file)
@@ -219,8 +219,13 @@ moveon:
             }
             spanStack.pop();
 
             }
             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());
 
                         fileName, inXml->getLineNumber(),
                         String8(spanTag).string(), String8(*outString).string());