Kaydet (Commit) 94b3b4fd authored tarafından Eike Rathke's avatar Eike Rathke

CID#703987 Unchecked return value (CHECKED_RETURN)

Change-Id: I0e5bf12f1b874e3aa5428c92487cb58ef16c9cc3
üst 6b84beb5
...@@ -2656,8 +2656,8 @@ void ScInterpreter::ScIsErr() ...@@ -2656,8 +2656,8 @@ void ScInterpreter::ScIsErr()
case svSingleRef : case svSingleRef :
{ {
ScAddress aAdr; ScAddress aAdr;
PopDoubleRefOrSingleRef( aAdr ); bool bOk = PopDoubleRefOrSingleRef( aAdr );
if ( nGlobalError && nGlobalError != NOTAVAILABLE ) if ( !bOk || (nGlobalError && nGlobalError != NOTAVAILABLE) )
nRes = true; nRes = true;
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment