ALSA: Evaluate condition in snd_BUG_ON() in non-debugging case
authorTakashi Iwai <tiwai@suse.de>
Fri, 7 Nov 2008 08:08:15 +0000 (09:08 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 7 Nov 2008 08:08:15 +0000 (09:08 +0100)
Change snd_BUG_ON() to evaluate the given condition, at least, in syntax
for avoiding compile warnings such as unused variables.  The compiler
should optimize out the condition evaluation in the real code, though.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found