Skip to contentSkip to conversation

tinycompres: remove unused variable

PATCH Applied Vinod Koul 1 participant 2 messages Feb 22, 2013 – Feb 24, 2013

lore
Share & tools
lore

Vinod Koul

author
#0 lore raw

PATCH 1/1 tinycompres: remove unused variable

cplay.c:210: warning: unused variable i

---
 cplay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
cplay.c +1 -1
index e52d641..5b4e83e 100644
@@ -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__);
Signature · 1 line
1.7.0.4
author Applied
#1 lore raw
Quoted 3 lines · Vinod Koul

cplay.c:210: warning: unused variable i

Applied

--
~Vinod

Quoted 20 lines
---
 cplay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
cplay.c +1 -1
index e52d641..5b4e83e 100644
@@ -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__);
Signature · 1 line
1.7.0.4