From 83025963e6b9b4662f0bfcfbd300904e2cfe6ea8 Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Sat, 4 May 2024 07:00:45 -0700 Subject: [PATCH] Remove unused-but-set variables in glow/glow/tests/unittests/TypeAToTypeBFunctionConverterTest.cpp +1 Reviewed By: palmje, dmm-fb Differential Revision: D56887246 --- tests/unittests/TypeAToTypeBFunctionConverterTest.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/unittests/TypeAToTypeBFunctionConverterTest.cpp b/tests/unittests/TypeAToTypeBFunctionConverterTest.cpp index c3e76f5425..8fb5b64a5f 100644 --- a/tests/unittests/TypeAToTypeBFunctionConverterTest.cpp +++ b/tests/unittests/TypeAToTypeBFunctionConverterTest.cpp @@ -1383,12 +1383,9 @@ static void convertWithoutClipAfterFp16ConvertTo( convertFunctionToFloat16(F, precConfig); int numClips = 0; - int numConvertTos = 0; for (auto &n : F->getNodes()) { if (n.getKind() == Kinded::Kind::ClipNodeKind) { ++numClips; - } else if (n.getKind() == Kinded::Kind::ConvertToNodeKind) { - ++numConvertTos; } }