Skip to content

Commit

Permalink
Sketch: Fix compiler warnings
Browse files Browse the repository at this point in the history
Fix warning: -Wunused-but-set-variable
  • Loading branch information
wwmayer committed Jul 28, 2024
1 parent 58b3d02 commit 00990cb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Mod/Sketcher/App/SketchObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10572,14 +10572,6 @@ void SketchObject::onDocumentRestored()
try {
restoreFinished();
Part::Part2DObject::onDocumentRestored();

if (getDocument()->testStatus(App::Document::Importing)) {
App::GeoFeatureGroupExtension *grp = nullptr;
auto grpObj = App::GeoFeatureGroupExtension::getGroupOfObject(this);
if (grpObj)
grp = grpObj->getExtensionByType<App::GeoFeatureGroupExtension>(true);
}

}
catch (...) {
}
Expand Down

0 comments on commit 00990cb

Please sign in to comment.