diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agi/predictive.cpp | 2 | ||||
-rw-r--r-- | engines/drascula/drascula.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/agi/predictive.cpp b/engines/agi/predictive.cpp index 94b2581ae3..7f41c27a6a 100644 --- a/engines/agi/predictive.cpp +++ b/engines/agi/predictive.cpp @@ -552,7 +552,7 @@ bool AgiEngine::matchWord(void) { return false; } // Lookup word in the dictionary - int line, span, cmpRes, len; + int line = 0, span, cmpRes, len; char target[MAXWORDLEN]; strncpy(target, _currentCode.c_str(), MAXWORDLEN); diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp index 465f54e34a..558e39941e 100644 --- a/engines/drascula/drascula.cpp +++ b/engines/drascula/drascula.cpp @@ -1435,8 +1435,8 @@ static char *getLine(Common::File *fp, char *buf, int len) { } void DrasculaEngine::carga_escoba(const char *nom_fich) { - int soc, l, martin, obj_salir; - float chiquez, pequegnez = 0; + int soc, l, martin = 0, obj_salir; + float chiquez = 0, pequegnez = 0; char pant1[20], pant2[20], pant3[20], pant4[20]; char para_codificar[20]; char buffer[256]; @@ -5523,7 +5523,7 @@ void DrasculaEngine::conversa(const char *nom_fich) { int juego1 = 1, juego2 = 1, juego3 = 1, juego4 = 1; char frase1[78]; char frase2[78]; - char frase3[78]; + char frase3[79]; char frase4[78]; char para_codificar[13]; char suena1[13]; |