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 7d351e4d2a
commit 7fec0a840f
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ public:
int start;
/** Use wave smoothing */
int waveSmoothing;
float waveSmoothing;
int *ip;
double *w;

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;
}