two small warning fixes

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@484 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
w1z7ard
2007-09-26 20:42:52 +00:00
parent f5ba281437
commit d6eff41526
2 changed files with 2 additions and 2 deletions

View File

@ -842,7 +842,7 @@ GenExpr * Parser::parse_gen_expr ( std::istream & fs, TreeExpr * tree_expr, Pre
if ((gen_expr = parse_gen_expr(fs, NULL, preset)) == NULL)
{
if (PARSE_DEBUG) printf("parse_gen_expr: found left parentice, but failed to create new expression tree \n");
if (tree_expr);
if (tree_expr)
delete tree_expr;
return NULL;
}