Permalink
Browse files

GUI: Fix Unused Variable Compiler Warning when USE_PNG not set.

  • Loading branch information...
1 parent 7db886e commit d5f0d1fdb26caea8d734371a539be9ed5764a899 @digitall digitall committed Jan 12, 2017
Showing with 2 additions and 0 deletions.
  1. +2 −0 gui/ThemeEngine.cpp
View
@@ -810,7 +810,9 @@ bool ThemeEngine::addAlphaBitmap(const Common::String &filename) {
if (surf)
return true;
+#ifdef USE_PNG
const Graphics::TransparentSurface *srcSurface = 0;
+#endif
if (filename.hasSuffix(".png")) {
// Maybe it is PNG?

0 comments on commit d5f0d1f

Please sign in to comment.