Mod: fix several compiler warnings:

* fix -Wsometimes-uninitialized
* fix -Wunused-parameter
* fix -Wunused-variable
* fix -Winconsistent-missing-override
* fix -Wsign-compare
* fix -Wreorder-ctor
* fix -Wtautological-overlap-compare
This commit is contained in:
wmayer
2024-02-07 11:44:00 +01:00
committed by Chris Hennes
parent 5af7933462
commit df7e783513
12 changed files with 17 additions and 21 deletions

View File

@@ -560,7 +560,7 @@ std::string PythonConverter::process(const Sketcher::Constraint* constraint, Geo
[](const Sketcher::Constraint* constr,
std::string& geoId1,
std::string& geoId2,
std::string& geoId3) {
[[maybe_unused]] std::string& geoId3) {
if (constr->Second == GeoEnum::GeoUndef) {
return boost::str(boost::format("Sketcher.Constraint('DistanceX', %s, %f)")
% geoId1 % constr->getValue());