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:
@@ -520,8 +520,8 @@ static void TestDllListLoaded()
|
|||||||
const wxDynamicLibraryDetails& details = dlls[n];
|
const wxDynamicLibraryDetails& details = dlls[n];
|
||||||
printf("%-45s", (const char *)details.GetPath().mb_str());
|
printf("%-45s", (const char *)details.GetPath().mb_str());
|
||||||
|
|
||||||
void *addr;
|
void *addr wxDUMMY_INITIALIZE(NULL);
|
||||||
size_t len;
|
size_t len wxDUMMY_INITIALIZE(0);
|
||||||
if ( details.GetAddress(&addr, &len) )
|
if ( details.GetAddress(&addr, &len) )
|
||||||
{
|
{
|
||||||
printf(" %08lx:%08lx",
|
printf(" %08lx:%08lx",
|
||||||
|
@@ -1240,7 +1240,7 @@ void MyAutoScrollingWindow::OnDraw(wxDC& dc)
|
|||||||
dc.SetPen(*wxTRANSPARENT_PEN);
|
dc.SetPen(*wxTRANSPARENT_PEN);
|
||||||
const wxString str = sm_testData;
|
const wxString str = sm_testData;
|
||||||
size_t strLength = str.length();
|
size_t strLength = str.length();
|
||||||
wxString::const_iterator str_i;
|
wxString::const_iterator str_i = std.begin();
|
||||||
|
|
||||||
// draw the characters
|
// draw the characters
|
||||||
// 1. for each update region
|
// 1. for each update region
|
||||||
|
Reference in New Issue
Block a user