Fixed (correct) warning about uninitialized inputConv.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1308,8 +1308,8 @@ bool wxMsgCatalogFile::FillHash(wxMessagesHash& hash,
|
|||||||
wxUnusedVar(msgIdCharset); // silence warning in Unicode build
|
wxUnusedVar(msgIdCharset); // silence warning in Unicode build
|
||||||
|
|
||||||
// conversion to use to convert catalog strings to the GUI encoding
|
// conversion to use to convert catalog strings to the GUI encoding
|
||||||
wxMBConv *inputConv,
|
wxMBConv *inputConv = NULL;
|
||||||
*inputConvPtr = NULL; // same as inputConv but safely deleteable
|
wxMBConv *inputConvPtr = NULL; // same as inputConv but safely deleteable
|
||||||
|
|
||||||
if ( !m_charset.empty() )
|
if ( !m_charset.empty() )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user