Fix several compiler warnings
* -Wmaybe-uninitialized * -Wunused-parameter * -Wunused-variable * -Wnonnull * -Wstringop-truncation * -Wstringop-overflow
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user