aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
authorFilippos Karapetis2011-07-09 14:34:59 +0300
committerFilippos Karapetis2011-07-09 14:34:59 +0300
commit49f209a4d20bec37fe567164671c3341a3e8d300 (patch)
tree4cebe628f17c47d42a8a5af71edbc73c264bface /engines/mohawk
parentec3b9314e8cddb4636e45d414f3d7c78dd9f716e (diff)
downloadscummvm-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.h2
-rw-r--r--engines/mohawk/livingbooks_code.cpp4
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: