From 46868952f24b5f837b061859b1095770b5623530 Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Fri, 3 May 2024 12:36:23 -0700 Subject: [PATCH] Remove unused-but-set variables in glow/glow/tests/unittests/BackendTestUtils.cpp +1 Differential Revision: D56887182 --- tests/unittests/BackendTestUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unittests/BackendTestUtils.cpp b/tests/unittests/BackendTestUtils.cpp index c48c128013..eb5b840b96 100644 --- a/tests/unittests/BackendTestUtils.cpp +++ b/tests/unittests/BackendTestUtils.cpp @@ -365,7 +365,7 @@ std::unordered_set 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 clonedNodes; - bool foundSaveNode = false; + [[maybe_unused]] bool foundSaveNode = false; for (auto &N : tmpF->getNodes()) { clonedNodes.insert(&N);