mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-07 14:43:10 -06:00
System : Avoid creating unused variable
This commit is contained in:
parent
e75362f87e
commit
84b0a23512
@ -315,8 +315,7 @@ void RiuViewer::mouseReleaseEvent(QMouseEvent* event)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuViewer::slotEndAnimation()
|
||||
{
|
||||
cvf::Rendering* firstRendering = m_mainRendering.p();
|
||||
CVF_ASSERT(firstRendering);
|
||||
CVF_ASSERT(m_mainRendering.notNull());
|
||||
|
||||
if (m_rimView) m_rimView->endAnimation();
|
||||
|
||||
@ -765,8 +764,7 @@ void RiuViewer::navigationPolicyUpdate()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuViewer::setCurrentFrame(int frameIndex)
|
||||
{
|
||||
cvf::Rendering* firstRendering = m_mainRendering.p();
|
||||
CVF_ASSERT(firstRendering);
|
||||
CVF_ASSERT(m_mainRendering.notNull());
|
||||
|
||||
if (m_rimView) m_rimView->setCurrentTimeStepAndUpdate(frameIndex);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user