summaryrefslogtreecommitdiff
path: root/icu/icu4c-warnings.patch
blob: 72566bc5e8abb837416d0249c5df4b1bb31109ae (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
@@ -316,6 +316,7 @@
         (s)[(i)++]=(uint16_t)(((c)&0x3ff)|0xdc00); \
     } else /* c>0x10ffff or not enough space */ { \
         (isError)=TRUE; \
+        (void)(isError); \
     } \
 }