From 1d0547504963fcbe28dba9d3913a2398df65a938 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 10 Jan 2021 22:06:21 +0100 Subject: Fix unused parameter warnings --- test/old_version.lv2/old_version.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/old_version.lv2/old_version.c') diff --git a/test/old_version.lv2/old_version.c b/test/old_version.lv2/old_version.c index ae25ad2..7f97dad 100644 --- a/test/old_version.lv2/old_version.c +++ b/test/old_version.lv2/old_version.c @@ -57,6 +57,11 @@ instantiate(const LV2_Descriptor* descriptor, const char* path, const LV2_Feature* const* features) { + (void)descriptor; + (void)rate; + (void)path; + (void)features; + Test* test = (Test*)calloc(1, sizeof(Test)); if (!test) { return NULL; @@ -68,6 +73,8 @@ instantiate(const LV2_Descriptor* descriptor, static void run(LV2_Handle instance, uint32_t sample_count) { + (void)sample_count; + Test* test = (Test*)instance; *test->output = *test->input; -- cgit v1.2.1