aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/glk/agt/os_glk.cpp2
-rw-r--r--engines/glk/agt/runverb.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/engines/glk/agt/os_glk.cpp b/engines/glk/agt/os_glk.cpp
index c80b3b941b..57e9b11451 100644
--- a/engines/glk/agt/os_glk.cpp
+++ b/engines/glk/agt/os_glk.cpp
@@ -3094,10 +3094,12 @@ static glui32 gagt_display_hinted_line(const gagt_lineref_t line, glui32 current
case HINT_NONE:
gagt_fatal("GLK: Page buffer line with no font hint");
gagt_exit();
+ break;
default:
gagt_fatal("GLK: Invalid font hint encountered");
gagt_exit();
+ break;
}
return style;
diff --git a/engines/glk/agt/runverb.cpp b/engines/glk/agt/runverb.cpp
index 4ee3fa5c46..203cfdd430 100644
--- a/engines/glk/agt/runverb.cpp
+++ b/engines/glk/agt/runverb.cpp
@@ -1421,6 +1421,7 @@ void exec_verb(void)
doing_restore = 2;
return;
}
+ break;
case (OLD_VERB+4):
cmd_saveable = 0; /* NOTIFY */
notify_flag = !notify_flag;
@@ -1620,7 +1621,7 @@ int check_obj(parse_rec *act, int verbid,
case 14: /* THROW dobj prep_ iobj */
case 29: /* PUT dobj prep_ iobj */
if (do_disambig == 2 && genvisible(iorec)) return DISAMBIG_SUCC;
- /* ... fall through to next case ... */
+ // fallthrough
case 41: /* DROP */
if (do_disambig == 1 && it_possess(dobj)) return DISAMBIG_SUCC;
break;