Skip to content
Commit 945eed02 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: Evaluate condition in snd_BUG_ON() in non-debugging case



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: default avatarTakashi Iwai <tiwai@suse.de>
parent 63cf123b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment