[alsa-devel] [PATCH 1/7] topology: remove unused variable in tplg_parse_fe_dai()

Takashi Sakamoto o-takashi at sakamocchi.jp
Mon Jul 11 14:05:57 CEST 2016


This commit fixes below compiler warnings.

pcm.c: In function ‘tplg_parse_fe_dai’:
pcm.c:333:6: warning: unused variable ‘err’ [-Wunused-variable]
  int err;
      ^

Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>
---
 src/topology/pcm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/topology/pcm.c b/src/topology/pcm.c
index efee58b..281e6ef 100644
--- a/src/topology/pcm.c
+++ b/src/topology/pcm.c
@@ -330,7 +330,6 @@ static int tplg_parse_fe_dai(snd_tplg_t *tplg, snd_config_t *cfg,
 	snd_config_t *n;
 	const char *id, *value = NULL;
 	unsigned long int id_val;
-	int err;
 
 	snd_config_get_id(cfg, &id);
 	tplg_dbg("\t\tFE DAI %s:\n", id);
-- 
2.7.4



More information about the Alsa-devel mailing list