Skip to content

Commit

Permalink
Fix an instance of -Wunused-but-set-variable.
Browse files Browse the repository at this point in the history
Bug: chromium:1203071

Closes #13929.

PiperOrigin-RevId: 396306613
  • Loading branch information
pkasting authored and copybara-github committed Sep 13, 2021
1 parent 0017fd2 commit f7ee209
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions third_party/ijar/classfile.cc
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,6 @@ struct InnerClassesAttribute : Attribute {
// kept. Then we mark its outer class and its class name as kept, too, then
// iterate until a fixed point is reached.
int entry_count;
int iteration = 0;

do {
entry_count = kept_entries.size();
Expand All @@ -527,7 +526,6 @@ struct InnerClassesAttribute : Attribute {
entry->inner_name->slot();
}
}
iteration += 1;
} while (entry_count != static_cast<int>(kept_entries.size()));

if (kept_entries.empty()) {
Expand Down

0 comments on commit f7ee209

Please sign in to comment.