aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2011-06-24 22:27:02 +0200
committerStrangerke2011-06-24 22:27:02 +0200
commit10ff50b9702f25bc43e7c32c7dd380b84f1bf9e3 (patch)
treec4b98fdfa632e0b52730b0a944a8218821b3aaa1
parentb35f4d31a64588a4a1f99e38df16bffc0abaf0b2 (diff)
downloadscummvm-rg350-10ff50b9702f25bc43e7c32c7dd380b84f1bf9e3.tar.gz
scummvm-rg350-10ff50b9702f25bc43e7c32c7dd380b84f1bf9e3.tar.bz2
scummvm-rg350-10ff50b9702f25bc43e7c32c7dd380b84f1bf9e3.zip
TSAGE: Silent a GCC warning reported by eriktorbjorn
-rw-r--r--engines/tsage/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/graphics.cpp b/engines/tsage/graphics.cpp
index 1d432724dc..fce9e1317d 100644
--- a/engines/tsage/graphics.cpp
+++ b/engines/tsage/graphics.cpp
@@ -326,7 +326,7 @@ void GfxSurface::synchronize(Serializer &s) {
s.syncAsSint16LE(zero);
}
} else {
- int w, h;
+ int w = 0, h = 0;
s.syncAsSint16LE(w);
s.syncAsSint16LE(h);