diff options
-rw-r--r-- | engines/glk/alan2/inter.cpp | 8 | ||||
-rw-r--r-- | engines/glk/alan2/sysdep.cpp | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/engines/glk/alan2/inter.cpp b/engines/glk/alan2/inter.cpp index 4e6639a3f6..64aff1fd74 100644 --- a/engines/glk/alan2/inter.cpp +++ b/engines/glk/alan2/inter.cpp @@ -57,6 +57,8 @@ static void if_(Aword v) { lev--; if (lev == 0) return; break; + default: + break; } } } @@ -78,6 +80,8 @@ static void else_() { case I_IF: lev++; break; + default: + break; } } } @@ -118,6 +122,8 @@ static void depexec(Aword v) { case I_DEPELSE: if (lev == 1) return; break; + default: + break; } } } @@ -141,6 +147,8 @@ static void depcase() { lev--; if (lev == 0) return; break; + default: + break; } } } diff --git a/engines/glk/alan2/sysdep.cpp b/engines/glk/alan2/sysdep.cpp index 27ab2c8639..ba8cc5eb4d 100644 --- a/engines/glk/alan2/sysdep.cpp +++ b/engines/glk/alan2/sysdep.cpp @@ -269,6 +269,9 @@ void toIso(char copy[], /* OUT - Mapped string */ *c = dosMap[*o]; *c = '\0'; break; + + default: + break; } } |