avoid shadowed variable warning with VS2015, see #17112

This commit is contained in:
Paul Cornett
2015-08-19 11:21:44 -07:00
parent e90feaadf3
commit 2dfbb810a4

View File

@@ -744,7 +744,7 @@ wxCOMPtr<ID2D1Geometry> wxD2DConvertRegionToGeometry(ID2D1Factory* direct2dFacto
&resultGeometry);
// Cleanup temporaries
for (int i = 0; i < rectCount; ++i)
for (i = 0; i < rectCount; ++i)
{
geometries[i]->Release();
}