From a14a6aa2dd5cfc5904c6bbbc612c5032d7ac86c8 Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 27 Sep 2023 09:54:30 +0200 Subject: [PATCH] Path: fix -Wunused-but-set-variable --- src/Mod/Path/App/Area.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Path/App/Area.cpp b/src/Mod/Path/App/Area.cpp index 8332036c2e..b57317bd4a 100644 --- a/src/Mod/Path/App/Area.cpp +++ b/src/Mod/Path/App/Area.cpp @@ -501,6 +501,8 @@ std::shared_ptr Area::getClearedArea(double tipDiameter, double diameter) #define AREA_MY(_param) myParams.PARAM_FNAME(_param) PARAM_ENUM_CONVERT(AREA_MY, PARAM_FNAME, PARAM_ENUM_EXCEPT, AREA_PARAMS_OFFSET_CONF); PARAM_ENUM_CONVERT(AREA_MY, PARAM_FNAME, PARAM_ENUM_EXCEPT, AREA_PARAMS_CLIPPER_FILL); + (void)SubjectFill; + (void)ClipFill; // Do not fit arcs after these offsets; it introduces unnecessary approximation error, and all off // those arcs will be converted back to segments again for clipper differencing in getRestArea anyway