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/test.lv2/test.c | |
parent | 37f824f48e8141cd039e5acb318f8e62a93498e3 (diff) | |
download | lilv-1d0547504963fcbe28dba9d3913a2398df65a938.tar.gz lilv-1d0547504963fcbe28dba9d3913a2398df65a938.tar.bz2 lilv-1d0547504963fcbe28dba9d3913a2398df65a938.zip |
Fix unused parameter warnings
Diffstat (limited to 'test/test.lv2/test.c')
-rw-r--r-- | test/test.lv2/test.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test.lv2/test.c b/test/test.lv2/test.c index d6b2544..2be34b4 100644 --- a/test/test.lv2/test.c +++ b/test/test.lv2/test.c @@ -95,6 +95,10 @@ instantiate(const LV2_Descriptor* descriptor, const char* path, const LV2_Feature* const* features) { + (void)descriptor; + (void)rate; + (void)path; + Test* test = (Test*)calloc(1, sizeof(Test)); if (!test) { return NULL; @@ -171,6 +175,8 @@ save(LV2_Handle instance, uint32_t flags, const LV2_Feature* const* features) { + (void)flags; + Test* plugin = (Test*)instance; LV2_State_Map_Path* map_path = NULL; @@ -329,6 +335,8 @@ restore(LV2_Handle instance, uint32_t flags, const LV2_Feature* const* features) { + (void)flags; + Test* plugin = (Test*)instance; LV2_State_Map_Path* map_path = NULL; |