fix (bogus) warning about uninitialized variable in release MSVC build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
04aa748dc4
commit
73df4a1e3c
@ -165,7 +165,7 @@ void wxArgumentType::SetDefaultValue(const wxString& defval, const wxString& def
|
||||
// Note: we adjust the aesthetic form of the m_strDefaultValue string for the "modify mode"
|
||||
// of ifacecheck: we may need to write it out in an interface header
|
||||
|
||||
wxString *p;
|
||||
wxString *p wxDUMMY_INITIALIZE(NULL);
|
||||
for (int i=0; i<2; i++) // to avoid copying&pasting the code!
|
||||
{
|
||||
if (i == 0) p = &m_strDefaultValue;
|
||||
|
Loading…
Reference in New Issue
Block a user