diff options
author | David Robillard <d@drobilla.net> | 2021-01-10 22:06:21 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-11 12:25:16 +0100 |
commit | 1d0547504963fcbe28dba9d3913a2398df65a938 (patch) | |
tree | 14ce1ac6bfb531459dfa6717fd1575ca3c524e16 /test/missing_name.lv2 | |
parent | 37f824f48e8141cd039e5acb318f8e62a93498e3 (diff) | |
download | lilv-1d0547504963fcbe28dba9d3913a2398df65a938.tar.gz lilv-1d0547504963fcbe28dba9d3913a2398df65a938.tar.bz2 lilv-1d0547504963fcbe28dba9d3913a2398df65a938.zip |
Fix unused parameter warnings
Diffstat (limited to 'test/missing_name.lv2')
-rw-r--r-- | test/missing_name.lv2/missing_name.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/missing_name.lv2/missing_name.c b/test/missing_name.lv2/missing_name.c index 2f53cf4..8c6e6fe 100644 --- a/test/missing_name.lv2/missing_name.c +++ b/test/missing_name.lv2/missing_name.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; |