mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-04 21:27:04 -06:00
#7361 Janitor : Guard null pointer access
This commit is contained in:
1 parent
1a28e71b68
commit
ce2dd46a2e
6 files changed
+8
-29
No files matched your search
@@ -272,14 +272,6 @@ size_t RimMultiPlot::plotIndex( const RimPlot* plot ) const
|
||||
return m_plots.index( plot );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimPlot* RimMultiPlot::plotByIndex( size_t index ) const
|
||||
{
|
||||
return m_plots[index];
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user