Skip to content

Commit

Permalink
Merge pull request #55 from WojciechRynczuk/051_Release_package
Browse files Browse the repository at this point in the history
#51 No nullptr check
  • Loading branch information
WojciechRynczuk committed Nov 27, 2018
2 parents 5a398c1 + b2346cb commit 6513da7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sources/parsers/inc/ExpressionContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ namespace PARSER
/// Expression context destructor.
~ExpressionContext()
{
if (m_pExpression != nullptr)
{
delete m_pExpression;
}
delete m_pExpression;
}

/// Set the expression context.
Expand Down

0 comments on commit 6513da7

Please sign in to comment.