From: Paul Brossier Date: Sun, 12 Mar 2017 14:01:03 +0000 (+0100) Subject: src/aubiosampler~.c: _open to return NULL X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=3cea0e585294d6f06b441628df097a938497318a;p=pd-aubio.git src/aubiosampler~.c: _open to return NULL --- 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);