Kaydet (Commit) db4414db authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1266450 Explicit null dereferenced

Change-Id: Ie675dc47d6008aa3ce947f8969895f32eb20b8c4
üst e93b9dc3
...@@ -476,10 +476,13 @@ void ScInterpreter::ScChooseJump() ...@@ -476,10 +476,13 @@ void ScInterpreter::ScChooseJump()
GetTokenMatrixMap().insert( ScTokenMatrixMap::value_type( GetTokenMatrixMap().insert( ScTokenMatrixMap::value_type(
pCur, xNew)); pCur, xNew));
} }
PushTempToken( xNew.get()); if (xNew.get())
// set endpoint of path for main code line {
aCode.Jump( pJump[ nJumpCount ], pJump[ nJumpCount ] ); PushTempToken( xNew.get());
bHaveJump = true; // set endpoint of path for main code line
aCode.Jump( pJump[ nJumpCount ], pJump[ nJumpCount ] );
bHaveJump = true;
}
} }
} }
break; break;
......
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