Use -Wno-unused-value to stop the warning; (the option -Wall includes -Wunused-value).
I think even better is to use another method, like
assert(condition && "message");
Use -Wno-unused-value to stop the warning; (the option -Wall includes -Wunused-value).
I think even better is to use another method, like
assert(condition && "message");