From a6222fcdefa4aa0fdfc1fa35748a698454ced1cb Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 27 Feb 2017 01:24:46 +0100 Subject: [PATCH] python/ext/py-source.c: statement after definitions --- python/ext/py-source.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ext/py-source.c b/python/ext/py-source.c index 82247fd9..d7dbe70c 100644 --- a/python/ext/py-source.c +++ b/python/ext/py-source.c @@ -289,7 +289,7 @@ static PyObject* Pyaubio_source_iter(PyObject *self) { } static PyObject* Pyaubio_source_iter_next(Py_source *self) { - PyObject *done; + PyObject *done, *size; if (self->channels == 1) { done = Py_source_do(self, NULL); } else { @@ -300,7 +300,7 @@ static PyObject* Pyaubio_source_iter_next(Py_source *self) { "error when reading source: not opened?"); return NULL; } - PyObject *size = PyTuple_GetItem(done, 1); + size = PyTuple_GetItem(done, 1); if (size != NULL && PyLong_Check(size)) { if (PyLong_AsLong(size) == (long)self->hop_size) { PyObject *vec = PyTuple_GetItem(done, 0); -- 2.11.0