Author: sebor
Date: Wed May 14 11:33:18 2008
New Revision: 656352
URL: http://svn.apache.org/viewvc?rev=656352&view=rev
Log:
2008-05-14 Martin Sebor <[EMAIL PROTECTED]>
* util/charmap.cpp (utf8_decode): Explicitly initialized a local
variable to silence gcc warning: variable may be used uninitialized.
Modified:
stdcxx/branches/4.2.x/util/charmap.cpp
Modified: stdcxx/branches/4.2.x/util/charmap.cpp
URL:
http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/util/charmap.cpp?rev=656352&r1=656351&r2=656352&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/util/charmap.cpp (original)
+++ stdcxx/branches/4.2.x/util/charmap.cpp Wed May 14 11:33:18 2008
@@ -179,7 +179,7 @@
const unsigned char* const ch_end =
_RWSTD_REINTERPRET_CAST (const unsigned char*, to);
- size_t num_bytes;
+ size_t num_bytes = 0;
wchar_t ret = 0;