Skip to content

Commit b667ca2

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Remove unused-but-set variables in glow/glow/tests/unittests/BackendTestUtils.cpp +1
Differential Revision: D56887182
1 parent d028b17 commit b667ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unittests/BackendTestUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ std::unordered_set<Tensor *> cloneFunInsideFun(FunctionTensorPair FTP,
365365
// Clone the clone, and then add all the new nodes to the original function.
366366
auto *tmpF = cloneF->clone("tmp" + std::to_string(i));
367367
std::unordered_set<Node *> clonedNodes;
368-
bool foundSaveNode = false;
368+
[[maybe_unused]] bool foundSaveNode = false;
369369
for (auto &N : tmpF->getNodes()) {
370370
clonedNodes.insert(&N);
371371

0 commit comments

Comments
 (0)