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

Reviewed By: palmje, dmm-fb

Differential Revision: D56887133

fbshipit-source-id: a3dc4a5d831a3286679e5cfedabcd92a3d781ca9
  • Loading branch information
r-barnes authored and facebook-github-bot committed May 4, 2024
1 parent d376601 commit 35e51db
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 35e51db

Please sign in to comment.