[alsa-devel] [PATCH 3/3] control: Remove unused variable.

Stefan Schmidt stefan at datenfreihafen.org
Tue Sep 29 23:48:21 CEST 2009


From: Stefan Schmidt <stefan at slimlogic.co.uk>

Signed-off-by: Stefan Schmidt <stefan at slimlogic.co.uk>
---
 src/control/control.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/control/control.c b/src/control/control.c
index ae70e76..51628ba 100644
--- a/src/control/control.c
+++ b/src/control/control.c
@@ -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) {
-- 
1.6.4.3



More information about the Alsa-devel mailing list