From 6ae6a79c67bfd3c35a3a3b62028d379fb2fc19b0 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Tue, 20 Sep 2016 20:30:53 +0200 Subject: [PATCH] Fix MSVC14 warnings about a shadowed variable in the accessibility sample Just to suppress some harmless warnings. --- samples/access/accesstest.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/samples/access/accesstest.cpp b/samples/access/accesstest.cpp index 02ba4ba7ed..5b1673713a 100644 --- a/samples/access/accesstest.cpp +++ b/samples/access/accesstest.cpp @@ -533,7 +533,6 @@ void MyFrame::LogObject(int indent, IAccessible* obj) if (S_OK == obj->get_accChild(var, & pDisp) && pDisp) { - wxString str; str.Printf(wxT("This is a real object.")); str.Pad(indent+4, wxT(' '), false); Log(str); @@ -547,7 +546,6 @@ void MyFrame::LogObject(int indent, IAccessible* obj) } else { - wxString str; str.Printf(wxT("This is an element.")); str.Pad(indent+4, wxT(' '), false); Log(str);