alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tinycompres: remove unused variable
@ 2013-02-22 18:17 Vinod Koul
  2013-02-24 14:19 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Vinod Koul @ 2013-02-22 18:17 UTC (permalink / raw)
  To: alsa-devel; +Cc: Vinod Koul

cplay.c:210: warning: unused variable i

Signed-off-by: Vinod Koul <vinod.koul@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tinycompres: remove unused variable
  2013-02-22 18:17 [PATCH] tinycompres: remove unused variable Vinod Koul
@ 2013-02-24 14:19 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2013-02-24 14:19 UTC (permalink / raw)
  To: alsa-devel

On Fri, Feb 22, 2013 at 11:47:04PM +0530, Vinod Koul wrote:
> cplay.c:210: warning: unused variable i
> 
> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Applied

--
~Vinod
> ---
>  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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-24 14:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-22 18:17 [PATCH] tinycompres: remove unused variable Vinod Koul
2013-02-24 14:19 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).