Fix a couple warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-06-11 22:46:47 +00:00
parent 13188defe3
commit 3afe2fd691

View File

@ -1324,7 +1324,7 @@ wxPyCBInputStream::wxPyCBInputStream(PyObject *r, PyObject *s, PyObject *t, bool
wxPyCBInputStream::~wxPyCBInputStream() {
bool blocked;
bool blocked=false;
if (m_block) blocked = wxPyBeginBlockThreads();
Py_XDECREF(m_read);
Py_XDECREF(m_seek);
@ -1334,7 +1334,7 @@ wxPyCBInputStream::~wxPyCBInputStream() {
wxPyCBInputStream* wxPyCBInputStream::create(PyObject *py, bool block) {
bool blocked;
bool blocked=false;
if (block) blocked = wxPyBeginBlockThreads();
PyObject* read = getMethod(py, "read");