summaryrefslogtreecommitdiffstats
path: root/test/failed_instantiation.lv2
diff options
context:
space:
mode:
Diffstat (limited to 'test/failed_instantiation.lv2')
-rw-r--r--test/failed_instantiation.lv2/failed_instantiation.c20
1 files changed, 17 insertions, 3 deletions
diff --git a/test/failed_instantiation.lv2/failed_instantiation.c b/test/failed_instantiation.lv2/failed_instantiation.c
index d805848..ecab647 100644
--- a/test/failed_instantiation.lv2/failed_instantiation.c
+++ b/test/failed_instantiation.lv2/failed_instantiation.c
@@ -31,11 +31,17 @@ typedef struct {
static void
cleanup(LV2_Handle instance)
-{}
+{
+ (void)instance;
+}
static void
connect_port(LV2_Handle instance, uint32_t port, void* data)
-{}
+{
+ (void)instance;
+ (void)port;
+ (void)data;
+}
static LV2_Handle
instantiate(const LV2_Descriptor* descriptor,
@@ -43,12 +49,20 @@ instantiate(const LV2_Descriptor* descriptor,
const char* path,
const LV2_Feature* const* features)
{
+ (void)descriptor;
+ (void)rate;
+ (void)path;
+ (void)features;
+
return NULL;
}
static void
run(LV2_Handle instance, uint32_t sample_count)
-{}
+{
+ (void)instance;
+ (void)sample_count;
+}
static const LV2_Descriptor descriptor = {
PLUGIN_URI,