diff options
author | David Robillard <d@drobilla.net> | 2012-02-13 23:23:16 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-02-13 23:23:16 +0000 |
commit | 563e19d485b503e3b798f8740cd551c4ebce5476 (patch) | |
tree | 6eaea79b6e68895adabda14a899ec02bdaefed7e | |
parent | 3c21b71e86d50ef0d21b0cfb5e4e74cf168b934d (diff) | |
download | lv2-563e19d485b503e3b798f8740cd551c4ebce5476.tar.xz |
Fix bad returns.
-rw-r--r-- | plugins/eg-sampler.lv2/sampler.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |