fix compiler warnings
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 @@
     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 @@
 {
     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 @@
     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 @@
 {
     int rtn, x, y, n;
     int strtype;
-    PyObject *strobj, *bytesobj;
+    PyObject *strobj, *bytesobj = NULL;
 #ifdef HAVE_NCURSESW
     wchar_t *wstr = NULL;
 #endif