ALSA compiler warnings fixes
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line
+#define
snd_power_unlock(card)do { (void)(card); } while (0)
Why do we use in kernel:
do { (void)(foobar); } while (0)
instead of the simpler and normally used in std files (e.g. assert.h):
((void)(foobar),0)?
The "do while(0)" is used for multi-statment macros, not the case for void statment!
ciao
giacomo