X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/1483d03e7d596480fa8a801301558a2ac1bdd5ab..b54f6d972fc58a07bad40e2fe045dae30683e987:/XMLNode.cpp diff --git a/XMLNode.cpp b/XMLNode.cpp index 832ba6c..d4d2a45 100644 --- a/XMLNode.cpp +++ b/XMLNode.cpp @@ -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());