X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/03d3b453250863c0d5ca97f3af69342cbd726f48..681e0c62435715da0dde10840e2fce4ebed23aed:/XMLNode.cpp?ds=sidebyside diff --git a/XMLNode.cpp b/XMLNode.cpp index 6daa0d2..d4d2a45 100644 --- a/XMLNode.cpp +++ b/XMLNode.cpp @@ -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());