From: Vinod Koul Date: Mon, 18 Feb 2013 11:13:03 +0000 (+0530) Subject: compress: remove unused variables X-Git-Tag: v0.1.0~17 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=2a455ef7b215f0d1fa91530b39544102fdba08fe;p=tinycompress.git compress: remove unused variables Signed-off-by: Vinod Koul --- diff --git a/compress.c b/compress.c index a8964f4..d98517d 100644 --- a/compress.c +++ b/compress.c @@ -204,7 +204,6 @@ struct compress *compress_open(unsigned int card, unsigned int device, struct compress *compress; struct snd_compr_params params; char fn[256]; - int rc; compress = calloc(1, sizeof(struct compress)); if (!compress || !config) { @@ -397,12 +396,10 @@ int compress_drain(struct compress *compress) bool is_codec_supported(unsigned int card, unsigned int device, unsigned int flags, struct snd_codec *codec) { - struct snd_compr_params params; unsigned int dev_flag; bool ret; int fd; char fn[256]; - int rc; snprintf(fn, sizeof(fn), "/dev/snd/comprC%uD%u", card, device);