work around MSVC warnings about using uninitialized variables in optimized build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
adcc13ac81
commit
92981c938d
@ -520,8 +520,8 @@ static void TestDllListLoaded()
|
||||
const wxDynamicLibraryDetails& details = dlls[n];
|
||||
printf("%-45s", (const char *)details.GetPath().mb_str());
|
||||
|
||||
void *addr;
|
||||
size_t len;
|
||||
void *addr wxDUMMY_INITIALIZE(NULL);
|
||||
size_t len wxDUMMY_INITIALIZE(0);
|
||||
if ( details.GetAddress(&addr, &len) )
|
||||
{
|
||||
printf(" %08lx:%08lx",
|
||||
|
@ -1240,7 +1240,7 @@ void MyAutoScrollingWindow::OnDraw(wxDC& dc)
|
||||
dc.SetPen(*wxTRANSPARENT_PEN);
|
||||
const wxString str = sm_testData;
|
||||
size_t strLength = str.length();
|
||||
wxString::const_iterator str_i;
|
||||
wxString::const_iterator str_i = std.begin();
|
||||
|
||||
// draw the characters
|
||||
// 1. for each update region
|
||||
|
Loading…
Reference in New Issue
Block a user