From 4d320b8e1749a41b3ed1a91f86af20c14cbe184a Mon Sep 17 00:00:00 2001 From: Matitiahu Allouche Date: Sun, 12 Aug 2007 08:01:40 +0000 Subject: [PATCH] ICU-5732 fix some compiler warnings X-SVN-Rev: 22359 --- icu4c/source/test/cintltst/cbiditst.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/icu4c/source/test/cintltst/cbiditst.c b/icu4c/source/test/cintltst/cbiditst.c index f4776b613a2..70164f0ba5f 100644 --- a/icu4c/source/test/cintltst/cbiditst.c +++ b/icu4c/source/test/cintltst/cbiditst.c @@ -429,9 +429,7 @@ static void printCaseInfo(UBiDi *bidi, const char *src, const char *dst) log_err("Processed length: %d", length); fputs("\n", stderr); for (i = 0; i < length; i++) { lev = levels[i]; - if (lev < 0) { - levelChars[i] = '-'; - } else if (lev < sizeof(columns)) { + if (lev < sizeof(columns)) { levelChars[i] = columns[lev]; } else { levelChars[i] = '+';