aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/script.cpp2
1 files changed, 1 insertions, 1 deletions
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);