Initialize variable in UTF{16,32} conversion code to avoid warnings.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Jun 2011 12:20:54 +0000 (12:20 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 30 Jun 2011 12:20:54 +0000 (12:20 +0000)
commitd883acaaa06a1e5ff4dbe43f3c207ed42505325f
treed2bb2f038e45ba3240a496fcb503bb41f20d870c
parentdecd390a328c35a2d34c1ba34afb16aa3eed74f0
Initialize variable in UTF{16,32} conversion code to avoid warnings.

In optimized build g++ warned about the second element of two-element array
passed to encode_utf16() being possibly uninitialized. This wasn't really the
case but change the code just to avoid the warnings.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/strconv.cpp