aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorEugene Sandulenko2016-02-14 17:35:09 +0100
committerEugene Sandulenko2016-02-14 17:35:09 +0100
commit7d2d5e371d3c8b96e08ed4a44722667cea7ca560 (patch)
tree748cf972664ce03c325c79cb15f17d893603dbfe /engines/gob
parenteffd02bdc13739c0c4cadf272469fb545198b573 (diff)
downloadscummvm-rg350-7d2d5e371d3c8b96e08ed4a44722667cea7ca560.tar.gz
scummvm-rg350-7d2d5e371d3c8b96e08ed4a44722667cea7ca560.tar.bz2
scummvm-rg350-7d2d5e371d3c8b96e08ed4a44722667cea7ca560.zip
GOB: Fix warning
Diffstat (limited to 'engines/gob')
-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);