tdf#163486: PVS: variable is used after being declared
V614 The 'pEffect' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it. Change-Id: Ic93aa42fa34af873f8dced5da0c1f55a8dcbd58d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176554 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
parent
d366b2b6d9
commit
83763a3ae1
1 changed files with 1 additions and 2 deletions
|
@ -3277,8 +3277,7 @@ CustomAnimationEffectPtr MainSequence::getEffectFromOffset( sal_Int32 nOffset )
|
|||
return (*aIter)->getEffectFromOffset( nOffset );
|
||||
}
|
||||
|
||||
CustomAnimationEffectPtr pEffect;
|
||||
return pEffect;
|
||||
return CustomAnimationEffectPtr();
|
||||
}
|
||||
|
||||
bool MainSequence::disposeShape( const Reference< XShape >& xShape )
|
||||
|
|
Loading…
Reference in a new issue