Fix various compiler warnings:

* fix -Wunused-parameter
* fix -Wunused-function
* fix -Wunused-private-field
* fix -Wunused-variable
* fix -Winconsistent-missing-override
This commit is contained in:
wmayer
2024-04-30 16:59:31 +02:00
parent 9e4def7104
commit 56f84c8042
14 changed files with 16 additions and 20 deletions

View File

@@ -312,11 +312,11 @@ TEST_F(TopoShapeMakeShapeWithElementMapTests, findMakerOpInElementMap)
EXPECT_EQ(tmpShape.getElementMapSize(), 26);
// For all the mappedElements ...
for (const auto& mappedElement : tmpShape.getElementMap()) {
// TODO: This no longer works, it needs a different check. We don't set MAK
// EXPECT_NE(mappedElement.name.find(OpCodes::Maker),
// -1); // ... we check that there's the "MAK" OpCode
}
// for (const auto& mappedElement : tmpShape.getElementMap()) {
// TODO: This no longer works, it needs a different check. We don't set MAK
// EXPECT_NE(mappedElement.name.find(OpCodes::Maker),
// -1); // ... we check that there's the "MAK" OpCode
//}
}
}