diff options
author | D G Turner | 2019-10-06 09:51:01 +0100 |
---|---|---|
committer | D G Turner | 2019-10-06 09:51:01 +0100 |
commit | a7c497af3b12b84df9dd1e7612a561df7388d050 (patch) | |
tree | bb0631ca48a009168c80c88093f4d7b4bd84abdf | |
parent | 70582daf46efdc7353100c7d9405df9e6f9b7fa2 (diff) | |
download | scummvm-rg350-a7c497af3b12b84df9dd1e7612a561df7388d050.tar.gz scummvm-rg350-a7c497af3b12b84df9dd1e7612a561df7388d050.tar.bz2 scummvm-rg350-a7c497af3b12b84df9dd1e7612a561df7388d050.zip |
COMMON: Add Missing Default Switch Case to U32String Class
These are flagged by GCC if -Wswitch-default is enabled.
-rw-r--r-- | common/ustr.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/ustr.cpp b/common/ustr.cpp index 3a78239cb6..aab9dd6f05 100644 --- a/common/ustr.cpp +++ b/common/ustr.cpp @@ -542,6 +542,9 @@ String convertUtf32ToUtf8(const U32String &u32str) { // fallthrough case 1: buffer = (char)(ch | firstByteMark[bytesToWrite]) + buffer; + break; + default: + break; } str += buffer; |