From 563e19d485b503e3b798f8740cd551c4ebce5476 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 13 Feb 2012 23:23:16 +0000 Subject: Fix bad returns. --- plugins/eg-sampler.lv2/sampler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/eg-sampler.lv2/sampler.c b/plugins/eg-sampler.lv2/sampler.c index a0b0224..90d5cbe 100644 --- a/plugins/eg-sampler.lv2/sampler.c +++ b/plugins/eg-sampler.lv2/sampler.c @@ -269,7 +269,7 @@ handle_message(Sampler* plugin, if (!body) { // TODO: check type fprintf(stderr, "Malformed set message with no body.\n"); - return; + return false; } /* Get filename from body */ @@ -282,7 +282,7 @@ handle_message(Sampler* plugin, if (!filename) { fprintf(stderr, "Ignored set message with no filename\n"); - return; + return false; } char* str = (char*)LV2_ATOM_BODY(filename); -- cgit v1.2.1