X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/7e486e3393be690b0541d30339e50177fa07e64b..03d3b453250863c0d5ca97f3af69342cbd726f48:/XMLNode.cpp diff --git a/XMLNode.cpp b/XMLNode.cpp index 2a85bc7..6daa0d2 100644 --- a/XMLNode.cpp +++ b/XMLNode.cpp @@ -220,7 +220,7 @@ moveon: spanStack.pop(); if (empty) { - fprintf(stderr, "%s:%d: WARNING: empty '%s' span found in text '%s'\n", + fprintf(stderr, "%s:%d: warning: empty '%s' span found in text '%s'\n", fileName, inXml->getLineNumber(), String8(spanTag).string(), String8(*outString).string()); @@ -486,6 +486,7 @@ XMLNode::XMLNode(const String8& filename, const String16& s1, const String16& s2 XMLNode::XMLNode(const String8& filename) : mFilename(filename) { + memset(&mCharsValue, 0, sizeof(mCharsValue)); } XMLNode::type XMLNode::getType() const