From 2b4e42b66c3dee910a8571bca6c7c8143420ec9c Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Fri, 3 May 2024 12:47:54 -0700 Subject: [PATCH] Remove unused-but-set variables in glow/glow/examples/resnet-runtime.cpp +1 Differential Revision: D56887133 --- examples/resnet-runtime.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/resnet-runtime.cpp b/examples/resnet-runtime.cpp index bb65801c61..db154e7a81 100644 --- a/examples/resnet-runtime.cpp +++ b/examples/resnet-runtime.cpp @@ -176,7 +176,6 @@ int main(int argc, char **argv) { std::atomic 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--; @@ -207,7 +206,6 @@ int main(int argc, char **argv) { returned, finished); dirIt.increment(code); - currDevice++; } finished.get_future().wait();