cid#1500546 silence Explicit null dereferenced
Change-Id: I44b97965548bd84adf6dc3ec1c67f028a4b31075 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131000 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
b35571c348
commit
5541b7b1dd
1 changed files with 2 additions and 0 deletions
|
@ -901,6 +901,8 @@ public:
|
|||
std::shared_ptr<ExpressionNode> pFirstArg( std::move(rNodeStack.top()) );
|
||||
rNodeStack.pop();
|
||||
|
||||
assert(pThirdArg && pSecondArg && pFirstArg);
|
||||
|
||||
// create combined ExpressionNode
|
||||
auto pNode = std::make_shared<IfExpression>( pFirstArg, pSecondArg, pThirdArg );
|
||||
// check for constness
|
||||
|
|
Loading…
Reference in a new issue