aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/parse.cpp')
-rw-r--r--engines/gob/parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/parse.cpp b/engines/gob/parse.cpp
index 01e8d007c1..be007bc7c8 100644
--- a/engines/gob/parse.cpp
+++ b/engines/gob/parse.cpp
@@ -37,7 +37,7 @@ Parse::Parse(GobEngine *vm) : _vm(vm) {
}
int32 Parse::encodePtr(char *ptr, int type) {
- int32 offset;
+ int32 offset = 0;
switch (type) {
case kExecPtr: