]> git.alsa-project.org Git - alsa-tools.git/commit
hdspmixer: Beautification; Lower nesting depth
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Thu, 3 Feb 2011 21:43:36 +0000 (22:43 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 7 Feb 2011 13:54:50 +0000 (14:54 +0100)
commit5d4bcc44ce054cedaa6f998bcb6a7c0746d19f69
tree5af6977687f668162a35ae72d1bb851577bc62e9
parent4c63a6b7beec6d9402b5e3fd8a5a075e436f6055
hdspmixer: Beautification; Lower nesting depth

Exit the loop if card < 0. No need to nest the actual code in the else
branch.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
hdspmixer/src/hdspmixer.cxx