summaryrefslogtreecommitdiffstats
path: root/test/missing_name.lv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-10 22:06:21 +0100
committerDavid Robillard <d@drobilla.net>2021-01-11 12:25:16 +0100
commit1d0547504963fcbe28dba9d3913a2398df65a938 (patch)
tree14ce1ac6bfb531459dfa6717fd1575ca3c524e16 /test/missing_name.lv2
parent37f824f48e8141cd039e5acb318f8e62a93498e3 (diff)
downloadlilv-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.c7
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;