From caa7c3b579c82d1b075b94d35f4e5bef7301b7c1 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 27 Oct 2013 09:51:08 +0100 Subject: mark some unused variables -- fewer compiler warnings --- libs/plugins/reasonablesynth.lv2/lv2.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/plugins/reasonablesynth.lv2/lv2.c b/libs/plugins/reasonablesynth.lv2/lv2.c index a32fe200ce..d6bc654ff4 100644 --- a/libs/plugins/reasonablesynth.lv2/lv2.c +++ b/libs/plugins/reasonablesynth.lv2/lv2.c @@ -66,6 +66,9 @@ instantiate(const LV2_Descriptor* descriptor, const char* bundle_path, const LV2_Feature* const* features) { + (void) descriptor; /* unused variable */ + (void) bundle_path; /* unused variable */ + if (rate < 8000) { fprintf(stderr, "RSynth.lv2 error: unsupported sample-rate (must be > 8k)\n"); return NULL; @@ -161,6 +164,7 @@ cleanup(LV2_Handle handle) static const void* extension_data(const char* uri) { + (void) uri; /* unused variable */ return NULL; } -- cgit v1.2.3