summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-09-23 10:55:34 +0200
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-09-23 10:55:34 +0200
commit00419c31059a11a28871fdd1308b40a7a3407b06 (patch)
tree016c8a8adacf1997d0e465d7dc0850ccf7212518 /modules
parent82f4cd91001b7418a95f44b665c06a6de946933d (diff)
jack: fix unused parameter warning
Diffstat (limited to 'modules')
-rw-r--r--modules/jack/jack_play.c2
-rw-r--r--modules/jack/jack_src.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/modules/jack/jack_play.c b/modules/jack/jack_play.c
index 380197f..4f19b68 100644
--- a/modules/jack/jack_play.c
+++ b/modules/jack/jack_play.c
@@ -191,6 +191,8 @@ int jack_play_alloc(struct auplay_st **stp, const struct auplay *ap,
struct auplay_st *st;
int err = 0;
+ (void)device;
+
if (!stp || !ap || !prm || !wh)
return EINVAL;
diff --git a/modules/jack/jack_src.c b/modules/jack/jack_src.c
index 2139e35..e4662c3 100644
--- a/modules/jack/jack_src.c
+++ b/modules/jack/jack_src.c
@@ -186,6 +186,10 @@ int jack_src_alloc(struct ausrc_st **stp, const struct ausrc *as,
struct ausrc_st *st;
int err = 0;
+ (void)ctx;
+ (void)device;
+ (void)errh;
+
if (!stp || !as || !prm || !rh)
return EINVAL;