From 3cea0e585294d6f06b441628df097a938497318a Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 12 Mar 2017 15:01:03 +0100 Subject: [PATCH] src/aubiosampler~.c: _open to return NULL --- src/aubiosampler~.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aubiosampler~.c b/src/aubiosampler~.c index c3bb76d..0067078 100644 --- a/src/aubiosampler~.c +++ b/src/aubiosampler~.c @@ -114,7 +114,7 @@ aubiosampler_tilde_open (t_aubiosampler_tilde *x, t_symbol *s, int argc, t_atom t_symbol *uri = atom_getsymbolarg(0, argc, argv); if (!*uri->s_name) { post("aubiosampler~: open: no filename given"); - return; + return NULL; } if (aubio_sampler_queue(x->o, uri->s_name)) { error("aubiosampler~: failed queuing %s", uri->s_name); -- 2.11.0