History

python/ext/py-source.c: statement after definitions

Paul Brossier committed 9 years ago

Commit a6222fc1 parent 23f1c491 file · +2 −2Browse files

Showing the changes to python/ext/py-source.c (1 of 1 file). Show all

Unified · Split

python/ext/py-source.c+2−2
@@ -289,7 +289,7 @@ static PyObject* Pyaubio_source_iter(PyObject *self) { · 288 unmodified lines
289289 }
290290
291291 static PyObject* Pyaubio_source_iter_next(Py_source *self) {
292− PyObject *done;
292+ PyObject *done, *size;
293293 if (self->channels == 1) {
294294 done = Py_source_do(self, NULL);
295295 } else {
@@ -300,7 +300,7 @@ static PyObject* Pyaubio_source_iter_next(Py_source *self) { · 4 unmodified lines
300300 "error when reading source: not opened?");
301301 return NULL;
302302 }
303− PyObject *size = PyTuple_GetItem(done, 1);
303+ size = PyTuple_GetItem(done, 1);
304304 if (size != NULL && PyLong_Check(size)) {
305305 if (PyLong_AsLong(size) == (long)self->hop_size) {
306306 PyObject *vec = PyTuple_GetItem(done, 0);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t