summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMultiProcessHandler.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-06 20:02:05 (GMT)
committerBrad King <brad.king@kitware.com>2022-04-06 20:02:05 (GMT)
commit75e81733223f1c90cf48879431483d45473b9865 (patch)
treedf6b7b7d648ed36748612662dbc0866eb02ee427 /Source/CTest/cmCTestMultiProcessHandler.cxx
parent2646d5dfcfc4c2dd8a0824de2db5c6888476fcec (diff)
downloadCMake-75e81733223f1c90cf48879431483d45473b9865.zip
CMake-75e81733223f1c90cf48879431483d45473b9865.tar.gz
CMake-75e81733223f1c90cf48879431483d45473b9865.tar.bz2
Source: Fix clang -Wunused-but-set-variable warnings
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.cxx')
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx
index d90c4a6..abd1aa6 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
+++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
@@ -1284,10 +1284,8 @@ void cmCTestMultiProcessHandler::PrintTestList()
}
this->TestHandler->SetMaxIndex(this->FindMaxIndex());
- int count = 0;
for (auto& it : this->Properties) {
- count++;
cmCTestTestHandler::cmCTestTestProperties& p = *it.second;
// Don't worry if this fails, we are only showing the test list, not