Browse Source

tools: fix -Wunused-variable warning

PR-URL: https://github.com/nodejs/node/pull/7462
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
v7.x
Ben Noordhuis 9 years ago
parent
commit
9a6439aacc
  1. 1
      tools/icu/iculslocs.cc

1
tools/icu/iculslocs.cc

@ -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));

Loading…
Cancel
Save