From 8ca5e0b5f1c1fee34f67d71d016fbb01491f70f5 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 22 May 2016 18:45:37 +0200 Subject: [PATCH] + fix gcc warning of unused variable --- src/Mod/Sketcher/App/SketchObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Sketcher/App/SketchObject.cpp b/src/Mod/Sketcher/App/SketchObject.cpp index 14ec17bbf8..e022736594 100644 --- a/src/Mod/Sketcher/App/SketchObject.cpp +++ b/src/Mod/Sketcher/App/SketchObject.cpp @@ -1729,7 +1729,7 @@ bool SketchObject::isExternalAllowed(App::Document *pDoc, App::DocumentObject *p // Note: Checking for the body of the support doesn't work when the support are the three base planes - App::DocumentObject *support = this->Support.getValue(); + //App::DocumentObject *support = this->Support.getValue(); Part::BodyBase* body_this = Part::BodyBase::findBodyOf(this); Part::BodyBase* body_obj = Part::BodyBase::findBodyOf(pObj); App::Part* part_this = App::Part::getPartOfObject(this, true);