summaryrefslogtreecommitdiff
path: root/src/topology
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-09-08 22:13:50 +0200
committerTakashi Iwai <tiwai@suse.de>2015-09-08 22:14:19 +0200
commite38b13f128c743fe1f664e4491fdd0c880265da1 (patch)
tree35a6c76f2b1d0ba9d2c0f16f2af032004ef49c0b /src/topology
parent5b21400c42877ff6c2a386c7c5ed5c6c6c9bf664 (diff)
downloadalsa-lib-e38b13f128c743fe1f664e4491fdd0c880265da1.tar.gz
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 <tiwai@suse.de>
Diffstat (limited to 'src/topology')
-rw-r--r--src/topology/parser.c1
1 files changed, 1 insertions, 0 deletions
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)