Fix several compiler warnings

* -Wmaybe-uninitialized
* -Wunused-parameter
* -Wunused-variable
* -Wnonnull
* -Wstringop-truncation
* -Wstringop-overflow
This commit is contained in:
wmayer
2024-06-18 23:21:53 +02:00
committed by Chris Hennes
parent d1d2b730ef
commit f6e67a009d
16 changed files with 32 additions and 19 deletions

View File

@@ -9478,6 +9478,7 @@ std::pair<std::string,std::string> SketchObject::getElementName(
index.appendToStringBuffer(ret.second);
if (auto realName = convertInternalName(ret.second.c_str())) {
Data::MappedElement mappedElement;
(void)realName;
// Todo: Do we need to add the InternalShape?
// if (mapped)
// mappedElement = InternalShape.getShape().getElementName(name);