From e7d36dd48fd843334e52b09bcb7af7231e480aad Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Wed, 20 Mar 2024 12:09:53 -0700 Subject: [PATCH] Remove unused variables in glow/glow/lib/IR/Instrs.cpp Reviewed By: palmje Differential Revision: D54378368 --- lib/IR/Instrs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/IR/Instrs.cpp b/lib/IR/Instrs.cpp index d64000ea02..235ea8ab2e 100644 --- a/lib/IR/Instrs.cpp +++ b/lib/IR/Instrs.cpp @@ -67,7 +67,7 @@ void TensorViewInst::verify() const { } void AllocActivationInst::verify() const { - unsigned numDealloc = 0; + [[maybe_unused]] unsigned numDealloc = 0; for (const Use &U : getUsers()) { numDealloc += isa(U.get()); }