mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-05 15:05:13 +00:00
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:
@ -36,7 +36,7 @@ public:
|
||||
int start;
|
||||
|
||||
/** Use wave smoothing */
|
||||
int waveSmoothing;
|
||||
float waveSmoothing;
|
||||
|
||||
int *ip;
|
||||
double *w;
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user