diff options
author | Filippos Karapetis | 2011-07-09 14:34:59 +0300 |
---|---|---|
committer | Filippos Karapetis | 2011-07-09 14:34:59 +0300 |
commit | 49f209a4d20bec37fe567164671c3341a3e8d300 (patch) | |
tree | 4cebe628f17c47d42a8a5af71edbc73c264bface /engines/mohawk | |
parent | ec3b9314e8cddb4636e45d414f3d7c78dd9f716e (diff) | |
download | scummvm-rg350-49f209a4d20bec37fe567164671c3341a3e8d300.tar.gz scummvm-rg350-49f209a4d20bec37fe567164671c3341a3e8d300.tar.bz2 scummvm-rg350-49f209a4d20bec37fe567164671c3341a3e8d300.zip |
MOHAWK: Silence MSVC warnings
Diffstat (limited to 'engines/mohawk')
-rw-r--r-- | engines/mohawk/livingbooks.h | 2 | ||||
-rw-r--r-- | engines/mohawk/livingbooks_code.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/mohawk/livingbooks.h b/engines/mohawk/livingbooks.h index 8426945257..27e703a578 100644 --- a/engines/mohawk/livingbooks.h +++ b/engines/mohawk/livingbooks.h @@ -673,7 +673,7 @@ public: GUI::Debugger *getDebugger() { return _console; } void addArchive(Archive *archive); - void removeArchive(Archive *Archive); + void removeArchive(Archive *archive); void addItem(LBItem *item); void removeItems(const Common::Array<LBItem *> &items); diff --git a/engines/mohawk/livingbooks_code.cpp b/engines/mohawk/livingbooks_code.cpp index 6531f65753..80b5fe9660 100644 --- a/engines/mohawk/livingbooks_code.cpp +++ b/engines/mohawk/livingbooks_code.cpp @@ -1181,8 +1181,8 @@ bool LBCode::parseCodeSymbol(const Common::String &name, uint &pos, Common::Arra // first, check whether the name matches a known function for (uint i = 0; i < 2; i++) { byte cmdToken; - CodeCommandInfo *cmdInfo; - uint cmdCount; + CodeCommandInfo *cmdInfo = NULL; + uint cmdCount = 0; switch (i) { case 0: |