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

Vinod Koul vinod.koul at intel.com
Sun Feb 24 15:19:39 CET 2013


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 at 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
> 


More information about the Alsa-devel mailing list