From 2dfbb810a41710f53ec951c635975ed174c77395 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Wed, 19 Aug 2015 11:21:44 -0700 Subject: [PATCH] avoid shadowed variable warning with VS2015, see #17112 --- src/msw/graphicsd2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/graphicsd2d.cpp b/src/msw/graphicsd2d.cpp index b509e7e4ca..98c3700166 100644 --- a/src/msw/graphicsd2d.cpp +++ b/src/msw/graphicsd2d.cpp @@ -744,7 +744,7 @@ wxCOMPtr wxD2DConvertRegionToGeometry(ID2D1Factory* direct2dFacto &resultGeometry); // Cleanup temporaries - for (int i = 0; i < rectCount; ++i) + for (i = 0; i < rectCount; ++i) { geometries[i]->Release(); }