aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan3/instance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/alan3/instance.cpp')
-rw-r--r--engines/glk/alan3/instance.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/glk/alan3/instance.cpp b/engines/glk/alan3/instance.cpp
index e1fab8d78a..fa4084fb94 100644
--- a/engines/glk/alan3/instance.cpp
+++ b/engines/glk/alan3/instance.cpp
@@ -304,6 +304,9 @@ bool isAt(int instance, int other, ATrans trans) {
curr = admin[curr].location;
}
return FALSE;
+
+ default:
+ break;
}
syserr("Unexpected value in switch in isAt() for location");
@@ -328,6 +331,8 @@ bool isAt(int instance, int other, ATrans trans) {
}
return FALSE;
}
+ default:
+ break;
}
syserr("Unexpected value in switch in isAt() for non-location");
return FALSE;
@@ -363,6 +368,8 @@ bool isAt(int instance, int other, ATrans trans) {
}
return ok;
}
+ default:
+ break;
}
syserr("Unexpected value in switch in isAt() for non-location");
return FALSE;