Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: source/common/ucnv_lmb.c

Issue 2440913002: Update ICU to 58.1
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/common/ucnv_io.cpp ('k') | source/common/ucnv_set.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/common/ucnv_lmb.c
diff --git a/source/common/ucnv_lmb.c b/source/common/ucnv_lmb.c
index 01d0aa15469d89bb776a8750a2f9e1550729c6dd..e4277909fe8ff5ba2470bcef989a9bf65979adbc 100644
--- a/source/common/ucnv_lmb.c
+++ b/source/common/ucnv_lmb.c
@@ -1,6 +1,8 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
-* Copyright (C) 2000-2015, International Business Machines
+* Copyright (C) 2000-2016, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* file name: ucnv_lmb.cpp
@@ -793,12 +795,16 @@ LMBCSConversionWorker (
{
case 4:
*pLMBCS++ = (ulmbcs_byte_t)(value >> 24);
- case 3: /*fall through*/
+ U_FALLTHROUGH;
+ case 3:
*pLMBCS++ = (ulmbcs_byte_t)(value >> 16);
- case 2: /*fall through*/
+ U_FALLTHROUGH;
+ case 2:
*pLMBCS++ = (ulmbcs_byte_t)(value >> 8);
- case 1: /*fall through*/
+ U_FALLTHROUGH;
+ case 1:
*pLMBCS++ = (ulmbcs_byte_t)value;
+ U_FALLTHROUGH;
default:
/* will never occur */
break;
« no previous file with comments | « source/common/ucnv_io.cpp ('k') | source/common/ucnv_set.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698