From a7c497af3b12b84df9dd1e7612a561df7388d050 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 6 Oct 2019 09:51:01 +0100 Subject: COMMON: Add Missing Default Switch Case to U32String Class These are flagged by GCC if -Wswitch-default is enabled. --- common/ustr.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common') 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; -- cgit v1.2.3