diff options
author | Robin Gareus <robin@gareus.org> | 2013-10-27 09:51:08 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-10-27 09:51:08 +0100 |
commit | caa7c3b579c82d1b075b94d35f4e5bef7301b7c1 (patch) | |
tree | d142dfd838d7d20c5a75bfa80dd871a673bc194e /libs | |
parent | dcd610323138882a350bae4334630542b46a5869 (diff) |
mark some unused variables -- fewer compiler warnings
Diffstat (limited to 'libs')
-rw-r--r-- | libs/plugins/reasonablesynth.lv2/lv2.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |