Sketcher: unused variable fixes

This commit is contained in:
Abdullah Tahiri
2023-06-11 19:04:47 +02:00
committed by abdullahtahiriyo
parent dc7b3bfd66
commit d7aa7bcb85
20 changed files with 31 additions and 31 deletions

View File

@@ -425,7 +425,7 @@ public:
EditCurve[1].y,
geometryCreationMode == Construction ? "True" : "False");
}
catch (const Base::Exception& e) {
catch (const Base::Exception&) {
addedGeometry = false;
Gui::NotifyError(sketchgui,
QT_TRANSLATE_NOOP("Notifications", "Error"),
@@ -455,7 +455,7 @@ public:
std::max(startAngle, endAngle),
geometryCreationMode == Construction ? "True" : "False");
}
catch (const Base::Exception& e) {
catch (const Base::Exception&) {
addedGeometry = false;
Gui::NotifyError(sketchgui,
QT_TRANSLATE_NOOP("Notifications", "Error"),