diff options
author | D G Turner | 2019-12-16 02:44:00 +0000 |
---|---|---|
committer | D G Turner | 2019-12-16 02:44:00 +0000 |
commit | f13ea97bad855298590d93297a0eb9f3c420b5ef (patch) | |
tree | 91a788248b47e1d40fa303f672e3f30435a4c5b9 /engines/glk | |
parent | d6c88b6a662cf55aefe4c7bb540bc6ee06c2a293 (diff) | |
download | scummvm-rg350-f13ea97bad855298590d93297a0eb9f3c420b5ef.tar.gz scummvm-rg350-f13ea97bad855298590d93297a0eb9f3c420b5ef.tar.bz2 scummvm-rg350-f13ea97bad855298590d93297a0eb9f3c420b5ef.zip |
GLK: JACL: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/glk')
-rw-r--r-- | engines/glk/jacl/interpreter.cpp | 2 | ||||
-rw-r--r-- | engines/glk/jacl/libcsv.cpp | 2 | ||||
-rw-r--r-- | engines/glk/jacl/utils.cpp | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/engines/glk/jacl/interpreter.cpp b/engines/glk/jacl/interpreter.cpp index 38c618a253..d758667713 100644 --- a/engines/glk/jacl/interpreter.cpp +++ b/engines/glk/jacl/interpreter.cpp @@ -3426,6 +3426,8 @@ int select_next() { } } break; + default: + break; } } diff --git a/engines/glk/jacl/libcsv.cpp b/engines/glk/jacl/libcsv.cpp index ccb90b8280..9e006b0713 100644 --- a/engines/glk/jacl/libcsv.cpp +++ b/engines/glk/jacl/libcsv.cpp @@ -176,6 +176,8 @@ int csv_fini(struct csv_parser *p, void (*cb1)(void *, size_t, void *), void (*c SUBMIT_ROW(p, -1); case ROW_NOT_BEGUN: /* Already ended properly */ ; + default: + break; } /* Reset parser */ diff --git a/engines/glk/jacl/utils.cpp b/engines/glk/jacl/utils.cpp index 48ede2babd..294543455f 100644 --- a/engines/glk/jacl/utils.cpp +++ b/engines/glk/jacl/utils.cpp @@ -95,6 +95,8 @@ char *strip_return(char *string) { case '\n': string[index] = 0; break; + default: + break; } } |