From: Rich Gillam <62772518+richgillam@users.noreply.github.com> Date: Mon, 22 Mar 2021 21:34:58 +0000 (-0700) Subject: ICU-21552 Changed to only display "Encountered empty table" warning in verbose mode. X-Git-Tag: cldr/2021-06-15~52 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29d2e850413eb524944346a1b168bdd84b7a1f2b;p=icu ICU-21552 Changed to only display "Encountered empty table" warning in verbose mode. --- diff --git a/icu4c/source/tools/genrb/parse.cpp b/icu4c/source/tools/genrb/parse.cpp index 18a8c76dbc5..5abe5d65673 100644 --- a/icu4c/source/tools/genrb/parse.cpp +++ b/icu4c/source/tools/genrb/parse.cpp @@ -1191,7 +1191,7 @@ realParseTable(ParseState* state, TableResource *table, char *tag, uint32_t star if (token == TOK_CLOSE_BRACE) { - if (!readToken) { + if (!readToken && isVerbose()) { warning(startline, "Encountered empty table"); } return table;