From e38b13f128c743fe1f664e4491fdd0c880265da1 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 8 Sep 2015 22:13:50 +0200 Subject: [PATCH] topology: parser: Add missing return value to snd_tplg_set_manifest_data() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/topology/parser.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.47.1