aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/ustr.cpp3
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;