From: Takashi Iwai Date: Tue, 8 Sep 2015 20:13:50 +0000 (+0200) Subject: topology: parser: Add missing return value to snd_tplg_set_manifest_data() X-Git-Tag: v1.1.0~22 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=e38b13f128c743fe1f664e4491fdd0c880265da1;p=alsa-lib.git topology: parser: Add missing return value to snd_tplg_set_manifest_data() Spotted by gcc warning: parser.c: In function ‘snd_tplg_set_manifest_data’: parser.c:361:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Signed-off-by: Takashi Iwai --- diff --git a/src/topology/parser.c b/src/topology/parser.c index ca7de068..44c6146b 100644 --- a/src/topology/parser.c +++ b/src/topology/parser.c @@ -358,6 +358,7 @@ int snd_tplg_set_manifest_data(snd_tplg_t *tplg, const void *data, int len) { tplg->manifest.priv.size = len; tplg->manifest_pdata = data; + return 0; } void snd_tplg_verbose(snd_tplg_t *tplg, int verbose)