[Scummvm-git-logs] scummvm master -> d5f0d1fdb26caea8d734371a539be9ed5764a899
digitall
dgturner at iee.org
Thu Jan 12 10:53:51 CET 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d5f0d1fdb2 GUI: Fix Unused Variable Compiler Warning when USE_PNG not set.
Commit: d5f0d1fdb26caea8d734371a539be9ed5764a899
https://github.com/scummvm/scummvm/commit/d5f0d1fdb26caea8d734371a539be9ed5764a899
Author: D G Turner (digitall at scummvm.org)
Date: 2017-01-12T10:00:17Z
Commit Message:
GUI: Fix Unused Variable Compiler Warning when USE_PNG not set.
Changed paths:
gui/ThemeEngine.cpp
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index 96108bc..d859a88 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -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?
More information about the Scummvm-git-logs
mailing list