diff --git a/src/common/stringops.cpp b/src/common/stringops.cpp index ae182c6cfa..b4959f846c 100644 --- a/src/common/stringops.cpp +++ b/src/common/stringops.cpp @@ -194,7 +194,7 @@ bool wxStringOperationsUtf8::IsValidUtf8LeadByte(unsigned char c) // code in single place wxUniChar::Utf8CharBuffer wxUniChar::AsUTF8() const { - Utf8CharBuffer buf; + Utf8CharBuffer buf = { "" }; // init to avoid g++ 4.1 warning with -O2 char *out = buf.data; value_type code = GetValue();