From: Paul Brossier Date: Mon, 9 Jul 2012 22:35:35 +0000 (-0700) Subject: examples/utils.c: avoid segfault when compiling without sndfile X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c0d7cd6599bfe11061d4ff1478f6c015b659a3ce;p=aubio.git examples/utils.c: avoid segfault when compiling without sndfile --- diff --git a/examples/utils.c b/examples/utils.c index c891b159..83f2acd7 100644 --- a/examples/utils.c +++ b/examples/utils.c @@ -280,10 +280,11 @@ examples_common_init (int argc, char **argv) void examples_common_del (void) { - uint_t i; +#if HAVE_SNDFILE del_fvec (ibuf); del_fvec (obuf); del_fvec (woodblock); +#endif aubio_cleanup (); }