Skip to content

Commit

Permalink
Remove unused-but-set variables in glow/glow/tests/unittests/BackendT…
Browse files Browse the repository at this point in the history
…estUtils.cpp +1

Differential Revision: D56887182
  • Loading branch information
r-barnes authored and facebook-github-bot committed May 3, 2024
1 parent d028b17 commit b667ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unittests/BackendTestUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ std::unordered_set<Tensor *> cloneFunInsideFun(FunctionTensorPair FTP,
// Clone the clone, and then add all the new nodes to the original function.
auto *tmpF = cloneF->clone("tmp" + std::to_string(i));
std::unordered_set<Node *> clonedNodes;
bool foundSaveNode = false;
[[maybe_unused]] bool foundSaveNode = false;
for (auto &N : tmpF->getNodes()) {
clonedNodes.insert(&N);

Expand Down

0 comments on commit b667ca2

Please sign in to comment.