Skip to content

Commit

Permalink
Merge pull request #1644 from GillesDuvert/enable_NULL_as_ReturnValue
Browse files Browse the repository at this point in the history
see #1357
  • Loading branch information
GillesDuvert authored Sep 29, 2023
2 parents 70b6513 + 9b6ab33 commit c564be5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/prognode_lexpr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ BaseGDL** SYSVARNode::LExpr( BaseGDL* right)
true,false);

BaseGDL** res=this->LEval(); //l_sys_var(this);
if (*res == NullGDL::GetSingleInstance()) return NULL; //!NULL is a SYSVAR so this is the only place for !NULL=something.
Guard<BaseGDL> conv_guard; //( rConv);
BaseGDL* rConv = right;
if( !(*res)->EqType( right))
Expand Down

0 comments on commit c564be5

Please sign in to comment.