git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27757
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxPyCBInputStream::~wxPyCBInputStream() {
- bool blocked;
+ bool blocked=false;
if (m_block) blocked = wxPyBeginBlockThreads();
Py_XDECREF(m_read);
Py_XDECREF(m_seek);
wxPyCBInputStream* wxPyCBInputStream::create(PyObject *py, bool block) {
- bool blocked;
+ bool blocked=false;
if (block) blocked = wxPyBeginBlockThreads();
PyObject* read = getMethod(py, "read");