Fix some warnings

This commit is contained in:
Lukas W
2014-01-24 22:04:37 +01:00
parent b1835c99d3
commit ac54fcdac2
7 changed files with 15 additions and 11 deletions

View File

@@ -31,10 +31,12 @@
// set whether debug-stuff (like messages on the console, asserts and other
// additional range-checkings) should be compiled
/*#ifdef LMMS_DEBUG*/
#include <assert.h>
#ifdef LMMS_DEBUG
#include <assert.h>
#else
#define assert(x) ((void)(x))
#endif
#include <cstdio>
/*#endif*/
#endif