From b5c2befaec8051b0b89ebeea48075ba9903cb026 Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 10 Jun 2020 12:52:52 +0200 Subject: [PATCH] PartDesign: [skip ci] fix -Wunused-variable --- src/Mod/PartDesign/Gui/CommandBody.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/PartDesign/Gui/CommandBody.cpp b/src/Mod/PartDesign/Gui/CommandBody.cpp index febbb73f90..1125b9d76e 100644 --- a/src/Mod/PartDesign/Gui/CommandBody.cpp +++ b/src/Mod/PartDesign/Gui/CommandBody.cpp @@ -315,6 +315,8 @@ void CmdPartDesignBody::activated(int iMsg) camera->viewBoundingBox(bbox, aspectratio, 1.0f); } } +#else + Q_UNUSED(viewAll) #endif updateActive();