[Scummvm-cvs-logs] scummvm master -> 10ff50b9702f25bc43e7c32c7dd380b84f1bf9e3

Strangerke Strangerke at scummvm.org
Fri Jun 24 22:28:54 CEST 2011


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:
10ff50b970 TSAGE: Silent a GCC warning reported by eriktorbjorn


Commit: 10ff50b9702f25bc43e7c32c7dd380b84f1bf9e3
    https://github.com/scummvm/scummvm/commit/10ff50b9702f25bc43e7c32c7dd380b84f1bf9e3
Author: Strangerke (strangerke at scummvm.org)
Date: 2011-06-24T13:27:02-07:00

Commit Message:
TSAGE: Silent a GCC warning reported by eriktorbjorn

Changed paths:
    engines/tsage/graphics.cpp



diff --git a/engines/tsage/graphics.cpp b/engines/tsage/graphics.cpp
index 1d43272..fce9e13 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);
 






More information about the Scummvm-git-logs mailing list