From a7b1557bcb51ffa8479cce61f1a70cd55704a3d3 Mon Sep 17 00:00:00 2001 From: Uwe Date: Sat, 5 Feb 2022 14:09:13 +0100 Subject: [PATCH] [Part] SectionCutting: remove unused variable --- src/Mod/Part/Gui/SectionCutting.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Mod/Part/Gui/SectionCutting.cpp b/src/Mod/Part/Gui/SectionCutting.cpp index 4e19174140..521e063c22 100644 --- a/src/Mod/Part/Gui/SectionCutting.cpp +++ b/src/Mod/Part/Gui/SectionCutting.cpp @@ -82,9 +82,6 @@ SectionCut::SectionCut(Gui::View3DInventor* view, QWidget* parent) ui->cutY->setRange(-INT_MAX, INT_MAX); ui->cutZ->setRange(-INT_MAX, INT_MAX); - view = view; - Gui::View3DInventorViewer* viewer = view->getViewer(); - // get all objects in the document doc = Gui::Application::Instance->activeDocument()->getDocument(); if (!doc) {