[go: nahoru, domu]

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

Reviewed By: palmje, dmm-fb

Differential Revision: D56887182

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

Please sign in to comment.