aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/predictive.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi/predictive.cpp')
-rw-r--r--engines/agi/predictive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/predictive.cpp b/engines/agi/predictive.cpp
index 0eb0b2e032..21f9256e70 100644
--- a/engines/agi/predictive.cpp
+++ b/engines/agi/predictive.cpp
@@ -555,7 +555,7 @@ bool AgiEngine::matchWord(void) {
return false;
}
// Lookup word in the dictionary
- int line = 0, cmpRes, len;
+ int line = 0, cmpRes = 0, len = 0;
char target[MAXWORDLEN];
strncpy(target, _currentCode.c_str(), MAXWORDLEN);