From 87afc50e8116f0f41025f7d41dc4d1405885d704 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Mon, 11 Jul 2016 21:05:57 +0900 Subject: [PATCH] topology: remove unused variable in tplg_parse_fe_dai() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Takashi Iwai --- src/topology/pcm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/topology/pcm.c b/src/topology/pcm.c index efee58b8..281e6ef9 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.47.1