diff --git a/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp b/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp index 829cb52570..7e0081b18c 100644 --- a/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp +++ b/ApplicationCode/Commands/CompletionExportCommands/RicWellPathExportCompletionDataFeatureImpl.cpp @@ -992,11 +992,6 @@ RigCompletionData { CVF_ASSERT(!completions.empty()); - if (completions.size() == 1) - { - return completions[0]; - } - const RigCompletionData& firstCompletion = completions[0]; const QString& wellName = firstCompletion.wellName();