Avoid some warnings in optimized builds

This commit is contained in:
fsub 2017-10-19 22:20:44 +02:00
parent 3484d7f775
commit a70128a4cf

View File

@ -23,7 +23,7 @@ void on_assert_failed(const char* message);
"\" at " __FILE__ ":" TOSTRING(__LINE__)); \ "\" at " __FILE__ ":" TOSTRING(__LINE__)); \
} while (false) } while (false)
#else #else
#define kak_assert(...) do {} while(false) #define kak_assert(...) do { (void)sizeof(__VA_ARGS__); } while(false)
#endif #endif