Skip to content

Commit

Permalink
tools: fix -Wunused-variable warning
Browse files Browse the repository at this point in the history
PR-URL: #7462
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
  • Loading branch information
bnoordhuis authored and Myles Borins committed Jul 14, 2016
1 parent 5aff60e commit 68e9fd4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/icu/iculslocs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ int dumpAllButInstalledLocales(int lev,
LocalUFILEPointer* bf,
UErrorCode* status) {
ures_resetIterator(bund->getAlias());
const UBool isTable = (UBool)(ures_getType(bund->getAlias()) == URES_TABLE);
LocalUResourceBundlePointer t;
while (U_SUCCESS(*status) && ures_hasNext(bund->getAlias())) {
t.adoptInstead(ures_getNextResource(bund->getAlias(), t.orphan(), status));
Expand Down

0 comments on commit 68e9fd4

Please sign in to comment.