aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/debug.cpp3
-rw-r--r--engines/agos/rooms.cpp2
-rw-r--r--engines/agos/script_pn.cpp4
3 files changed, 9 insertions, 0 deletions
diff --git a/engines/agos/debug.cpp b/engines/agos/debug.cpp
index ad5bfb56f4..2d7e3a0a3c 100644
--- a/engines/agos/debug.cpp
+++ b/engines/agos/debug.cpp
@@ -157,6 +157,9 @@ const byte *AGOSEngine::dumpOpcode(const byte *p) {
debugN("NULL_STRING ");
}
break;
+
+ default:
+ break;
}
}
}
diff --git a/engines/agos/rooms.cpp b/engines/agos/rooms.cpp
index d1d6f2b99d..6ffaf51da5 100644
--- a/engines/agos/rooms.cpp
+++ b/engines/agos/rooms.cpp
@@ -44,6 +44,8 @@ uint16 AGOSEngine::getBackExit(int n) {
return 5;
case 5:
return 4;
+ default:
+ break;
}
return 0;
diff --git a/engines/agos/script_pn.cpp b/engines/agos/script_pn.cpp
index 653a162904..508681ce92 100644
--- a/engines/agos/script_pn.cpp
+++ b/engines/agos/script_pn.cpp
@@ -391,6 +391,8 @@ void AGOSEngine_PN::opn_opcode31() {
// NOTE: Is this case ever used?
error("opn_opcode31: case 2");
break;
+ default:
+ break;
}
if (slot == -1) {
@@ -431,6 +433,8 @@ void AGOSEngine_PN::opn_opcode32() {
// NOTE: Is this case ever used?
error("opn_opcode32: case 2");
break;
+ default:
+ break;
}
a = saveFile(bf);