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) {