K
Keith Thompson
Frederick Gotham said:Old Wolf posted:
You can't mix statements and declarations in C (within a block).
You can in C99.
The argument to "assert" must be of the type, int.
In C99, it merely has to be a scalar expression.
[snip]
The cast-to-void is intended to suppress a compiler warning regarding non-
usage of a variable.
It may or may not do so, depending on the compiler.