mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove compiler warning + whitespace
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user