Remove compiler warning + whitespace

This commit is contained in:
Jacob Støren
2018-09-14 11:23:57 +02:00
parent 09d263cc39
commit 50a579c136
2 changed files with 1 additions and 4 deletions

View File

@@ -136,6 +136,7 @@ void RicSnapshotViewToFileFeature::onActionTriggered(bool isChecked)
// Get active view window before displaying the file selection dialog // Get active view window before displaying the file selection dialog
// If this is done after the file save dialog is displayed (and closed) // If this is done after the file save dialog is displayed (and closed)
// app->activeViewWindow() returns NULL on Linux // app->activeViewWindow() returns NULL on Linux
RimViewWindow* viewWindow = app->activeViewWindow(); RimViewWindow* viewWindow = app->activeViewWindow();
if (!viewWindow) if (!viewWindow)
{ {

View File

@@ -587,10 +587,6 @@ bool RimSimWellInView::isWellSpheresVisible(size_t frameIndex) const
{ {
return true; return true;
} }
CVF_ASSERT(false); // Never end here. have you added new pipe visibility modes ?
return false;
} }
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------