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/bad_syntax.lv2/bad_syntax.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/bad_syntax.lv2') diff --git a/test/bad_syntax.lv2/bad_syntax.c b/test/bad_syntax.lv2/bad_syntax.c index 72166c0..da9c041 100644 --- a/test/bad_syntax.lv2/bad_syntax.c +++ b/test/bad_syntax.lv2/bad_syntax.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