From: Takashi Sakamoto Date: Mon, 11 Jul 2016 12:05:57 +0000 (+0900) Subject: topology: remove unused variable in tplg_parse_fe_dai() X-Git-Tag: v1.1.2~89 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=87afc50e8116f0f41025f7d41dc4d1405885d704;p=alsa-lib.git topology: remove unused variable in tplg_parse_fe_dai() 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 --- 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);