[Scummvm-cvs-logs] scummvm master -> 7d2d5e371d3c8b96e08ed4a44722667cea7ca560

sev- sev at scummvm.org
Sun Feb 14 17:35:57 CET 2016


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:
7d2d5e371d GOB: Fix warning


Commit: 7d2d5e371d3c8b96e08ed4a44722667cea7ca560
    https://github.com/scummvm/scummvm/commit/7d2d5e371d3c8b96e08ed4a44722667cea7ca560
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-02-14T17:35:09+01:00

Commit Message:
GOB: Fix warning

Changed paths:
    engines/gob/script.cpp



diff --git a/engines/gob/script.cpp b/engines/gob/script.cpp
index d6e9841..9298f15 100644
--- a/engines/gob/script.cpp
+++ b/engines/gob/script.cpp
@@ -215,7 +215,7 @@ char *Script::readString(int32 length) {
 }
 
 byte Script::peekByte(int32 offset) {
-	byte v;
+	byte v = 0;
 
 	peek(&v, 1, offset);
 






More information about the Scummvm-git-logs mailing list