]> git.alsa-project.org Git - alsa-lib.git/commitdiff
control: Remove unused variable.
authorStefan Schmidt <stefan@slimlogic.co.uk>
Tue, 29 Sep 2009 21:48:21 +0000 (23:48 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 30 Sep 2009 06:21:53 +0000 (08:21 +0200)
Signed-off-by: Stefan Schmidt <stefan@slimlogic.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/control/control.c

index ae70e7668c36f50564a1ea6e9b03486a111f5182..51628ba8f15680a6f5123cf781ce1560437ba078 100644 (file)
@@ -675,7 +675,7 @@ int snd_ctl_wait(snd_ctl_t *ctl, int timeout)
 {
        struct pollfd *pfd;
        unsigned short revents;
-       int i, npfds, err, err_poll;
+       int npfds, err, err_poll;
 
        npfds = snd_ctl_poll_descriptors_count(ctl);
        if (npfds <= 0 || npfds >= 16) {