summaryrefslogtreecommitdiff
path: root/external/icu/icu4c-warnings.patch
blob: 96608d7d1ef35a53d1f4fc4c4bea77392ba83547 (plain)
1
2
3
4
5
6
7
8
9
10
--- misc/icu/source/common/unicode/utf16.h
+++ misc/build/icu/source/common/unicode/utf16.h
@@ -319,6 +319,7 @@
         (s)[(i)++]=(uint16_t)(((c)&0x3ff)|0xdc00); \
     } else /* c>0x10ffff or not enough space */ { \
         (isError)=TRUE; \
+        (void)(isError); \
     } \
 }