From: Steven R. Loomis Date: Thu, 21 Sep 2017 22:38:34 +0000 (+0000) Subject: ICU-13001 additional warning cleanup X-Git-Tag: release-60-rc~121 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=119d75dc4682f36d21ff265639b5020e4747d180;p=icu ICU-13001 additional warning cleanup X-SVN-Rev: 40444 --- diff --git a/icu4c/source/tools/genrb/wrtxml.cpp b/icu4c/source/tools/genrb/wrtxml.cpp index b4d21b87db3..58e055d5718 100644 --- a/icu4c/source/tools/genrb/wrtxml.cpp +++ b/icu4c/source/tools/genrb/wrtxml.cpp @@ -368,6 +368,7 @@ static char* convertAndEscape(char** pDest, int32_t destCap, int32_t* destLength #define LF 0x000D #define AT_SIGN 0x0040 +#if UCONFIG_NO_REGULAR_EXPRESSIONS==0 static void trim(char **src, int32_t *len){ @@ -395,7 +396,6 @@ trim(char **src, int32_t *len){ *len = i+1; } -#if UCONFIG_NO_REGULAR_EXPRESSIONS==0 /* donot compile when no RegularExpressions are available */ static void print(UChar* src, int32_t srcLen,const char *tagStart,const char *tagEnd, UErrorCode *status){ int32_t bufCapacity = srcLen*4;