From 7d2d5e371d3c8b96e08ed4a44722667cea7ca560 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 14 Feb 2016 17:35:09 +0100 Subject: GOB: Fix warning --- engines/gob/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/gob') diff --git a/engines/gob/script.cpp b/engines/gob/script.cpp index d6e9841e0a..9298f159a4 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); -- cgit v1.2.3