Fix harmless warning about shadowed variable in image sample

Don't redeclare a previously declared variable, just reuse the same one.
This commit is contained in:
Vadim Zeitlin 2016-01-30 22:18:43 +01:00
parent 987235da53
commit 5066bff04e

View File

@ -342,7 +342,7 @@ private:
wxT("compression = 1, memory = 9, strategy = 2, filter = 5"),
};
int sel = wxGetSingleChoiceIndex(wxT("Select compression option (Cancel to use default)\n"),
sel = wxGetSingleChoiceIndex(wxT("Select compression option (Cancel to use default)\n"),
wxT("PNG Compression Options"),
WXSIZEOF(compressionChoices),
compressionChoices,