Skip to content

Commit 5175853

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Remove unused-but-set variables in glow/glow/examples/resnet-runtime.cpp +1
Differential Revision: D56887133
1 parent d028b17 commit 5175853

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: examples/resnet-runtime.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ int main(int argc, char **argv) {
176176
std::atomic<size_t> returned{0};
177177

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

209208
dirIt.increment(code);
210-
currDevice++;
211209
}
212210

213211
finished.get_future().wait();

0 commit comments

Comments
 (0)