Skip to content

Commit

Permalink
Remove unused-but-set variables in glow/glow/examples/resnet-runtime.…
Browse files Browse the repository at this point in the history
…cpp +1

Differential Revision: D56887133
  • Loading branch information
r-barnes authored and facebook-github-bot committed May 3, 2024
1 parent d028b17 commit 2b4e42b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/resnet-runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ int main(int argc, char **argv) {
std::atomic<size_t> returned{0};

// Run up to maxImages classifications.
unsigned int currDevice{0};
while (started++ < maxImages) {
if (code.value() != 0 || dirIt == llvm::sys::fs::directory_iterator()) {
started--;
Expand Down Expand Up @@ -207,7 +206,6 @@ int main(int argc, char **argv) {
returned, finished);

dirIt.increment(code);
currDevice++;
}

finished.get_future().wait();
Expand Down

0 comments on commit 2b4e42b

Please sign in to comment.