aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/glk/archetype/array.cpp2
-rw-r--r--engines/glk/archetype/token.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/glk/archetype/array.cpp b/engines/glk/archetype/array.cpp
index 33147d1a9a..78bac696cc 100644
--- a/engines/glk/archetype/array.cpp
+++ b/engines/glk/archetype/array.cpp
@@ -51,6 +51,8 @@ bool access_xarray(XArrayType &the_xarray, int index, void *&result, AccessType
case POKE_ACCESS:
the_xarray[index - 1] = result;
break;
+ default:
+ break;
}
return true;
diff --git a/engines/glk/archetype/token.cpp b/engines/glk/archetype/token.cpp
index baeb7b70a8..e628412517 100644
--- a/engines/glk/archetype/token.cpp
+++ b/engines/glk/archetype/token.cpp
@@ -267,6 +267,8 @@ bool get_token(progfile &f) {
s = s + '\r';
next_ch = '\n';
break;
+ default:
+ break;
}
}
s = s + next_ch;