From 58d07de8d390f3f65296b1d46edc2e24a70a6d92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Jensen?= Date: Wed, 26 Sep 2018 15:10:56 +0200 Subject: [PATCH] Fix warning --- .../Commands/WellPathCommands/RicNewEditableWellPathFeature.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/ApplicationCode/Commands/WellPathCommands/RicNewEditableWellPathFeature.cpp b/ApplicationCode/Commands/WellPathCommands/RicNewEditableWellPathFeature.cpp index 2d13ae1edd..ddb1371ea7 100644 --- a/ApplicationCode/Commands/WellPathCommands/RicNewEditableWellPathFeature.cpp +++ b/ApplicationCode/Commands/WellPathCommands/RicNewEditableWellPathFeature.cpp @@ -86,8 +86,6 @@ void RicNewEditableWellPathFeature::onActionTriggered(bool isChecked) newModeledWellPath->geometryDefinition()->enableTargetPointPicking(true); - RimProject* project; - wellPathCollection->firstAncestorOrThisOfTypeAsserted(project); project->scheduleCreateDisplayModelAndRedrawAllViews(); Riu3DMainWindowTools::selectAsCurrentItem(newModeledWellPath->geometryDefinition());