summaryrefslogtreecommitdiffstats
path: root/external/icu/icu4c-warnings.patch.1
blob: 76f8b72986a0ffed9e8b522de5b48f2ac3e7e990 (plain)
1
2
3
4
5
6
7
8
9
10
11
diff -ur icu.org/source/common/unicode/utf16.h icu/source/common/unicode/utf16.h
--- icu.org/source/common/unicode/utf16.h	2019-10-03 13:16:41.000000000 +0200
+++ icu/source/common/unicode/utf16.h	2019-10-28 18:03:07.967208272 +0100
@@ -397,6 +397,7 @@
         (s)[(i)++]=(uint16_t)(((c)&0x3ff)|0xdc00); \
     } else /* c>0x10ffff or not enough space */ { \
         (isError)=TRUE; \
+        (void)(isError); \
     } \
 } UPRV_BLOCK_MACRO_END