diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-03-14 23:21:35 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-03-14 23:21:35 (GMT) |
commit | 5e5451940c0e5b820569e842b7cd2cc73add7db3 (patch) | |
tree | be74f4c92ccbb6265c53f04bca5113f8b6d62a0b /Modules | |
parent | 1a5e5de818a1393bbb32fabf2ee8ad8c239b6e9b (diff) | |
download | cpython-5e5451940c0e5b820569e842b7cd2cc73add7db3.zip cpython-5e5451940c0e5b820569e842b7cd2cc73add7db3.tar.gz cpython-5e5451940c0e5b820569e842b7cd2cc73add7db3.tar.bz2 |
fix compiler warnings
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_cursesmodule.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index 40b6e68..de45f51 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -649,7 +649,7 @@ PyCursesWindow_AddStr(PyCursesWindowObject *self, PyObject *args) int rtn; int x, y; int strtype; - PyObject *strobj, *bytesobj; + PyObject *strobj, *bytesobj = NULL; #ifdef HAVE_NCURSESW wchar_t *wstr = NULL; #endif @@ -725,7 +725,7 @@ PyCursesWindow_AddNStr(PyCursesWindowObject *self, PyObject *args) { int rtn, x, y, n; int strtype; - PyObject *strobj, *bytesobj; + PyObject *strobj, *bytesobj = NULL; #ifdef HAVE_NCURSESW wchar_t *wstr = NULL; #endif @@ -1413,7 +1413,7 @@ PyCursesWindow_InsStr(PyCursesWindowObject *self, PyObject *args) int rtn; int x, y; int strtype; - PyObject *strobj, *bytesobj; + PyObject *strobj, *bytesobj = NULL; #ifdef HAVE_NCURSESW wchar_t *wstr = NULL; #endif @@ -1491,7 +1491,7 @@ PyCursesWindow_InsNStr(PyCursesWindowObject *self, PyObject *args) { int rtn, x, y, n; int strtype; - PyObject *strobj, *bytesobj; + PyObject *strobj, *bytesobj = NULL; #ifdef HAVE_NCURSESW wchar_t *wstr = NULL; #endif |