[alsa-devel] [PATCH] tinycompres: remove unused variable

Vinod Koul vinod.koul at intel.com
Fri Feb 22 19:17:04 CET 2013


cplay.c:210: warning: unused variable i

Signed-off-by: Vinod Koul <vinod.koul at intel.com>
---
 cplay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cplay.c b/cplay.c
index e52d641..5b4e83e 100644
--- a/cplay.c
+++ b/cplay.c
@@ -207,7 +207,7 @@ void play_samples(char *name, unsigned int card, unsigned int device,
 	FILE *file;
 	char *buffer;
 	int size, num_read, wrote;
-	unsigned int i, channels, rate, bits;
+	unsigned int channels, rate, bits;
 
 	if (verbose)
 		printf("%s: entry\n", __func__);
-- 
1.7.0.4



More information about the Alsa-devel mailing list