diff -r 258558e36d8a Modules/_datetimemodule.c --- a/Modules/_datetimemodule.c Mon Aug 20 10:04:26 2012 +1000 +++ b/Modules/_datetimemodule.c Mon Aug 20 10:41:52 2012 +1000 @@ -615,7 +615,7 @@ sizeof(_PyDateTime_BaseTime)); if (self == NULL) return (PyObject *)PyErr_NoMemory(); - PyObject_INIT(self, type); + (void)PyObject_INIT(self, type); return self; } @@ -630,7 +630,7 @@ sizeof(_PyDateTime_BaseDateTime)); if (self == NULL) return (PyObject *)PyErr_NoMemory(); - PyObject_INIT(self, type); + (void)PyObject_INIT(self, type); return self; } diff -r 258558e36d8a Objects/bytesobject.c --- a/Objects/bytesobject.c Mon Aug 20 10:04:26 2012 +1000 +++ b/Objects/bytesobject.c Mon Aug 20 10:41:52 2012 +1000 @@ -98,7 +98,7 @@ op = (PyBytesObject *)PyObject_MALLOC(PyBytesObject_SIZE + size); if (op == NULL) return PyErr_NoMemory(); - PyObject_INIT_VAR(op, &PyBytes_Type, size); + (void)PyObject_INIT_VAR(op, &PyBytes_Type, size); op->ob_shash = -1; if (str != NULL) Py_MEMCPY(op->ob_sval, str, size); @@ -146,7 +146,7 @@ op = (PyBytesObject *)PyObject_MALLOC(PyBytesObject_SIZE + size); if (op == NULL) return PyErr_NoMemory(); - PyObject_INIT_VAR(op, &PyBytes_Type, size); + (void)PyObject_INIT_VAR(op, &PyBytes_Type, size); op->ob_shash = -1; Py_MEMCPY(op->ob_sval, str, size+1); /* share short strings */ @@ -734,7 +734,7 @@ op = (PyBytesObject *)PyObject_MALLOC(PyBytesObject_SIZE + nbytes); if (op == NULL) return PyErr_NoMemory(); - PyObject_INIT_VAR(op, &PyBytes_Type, size); + (void)PyObject_INIT_VAR(op, &PyBytes_Type, size); op->ob_shash = -1; op->ob_sval[size] = '\0'; if (Py_SIZE(a) == 1 && n > 0) { diff -r 258558e36d8a Objects/classobject.c --- a/Objects/classobject.c Mon Aug 20 10:04:26 2012 +1000 +++ b/Objects/classobject.c Mon Aug 20 10:41:52 2012 +1000 @@ -52,7 +52,7 @@ im = free_list; if (im != NULL) { free_list = (PyMethodObject *)(im->im_self); - PyObject_INIT(im, &PyMethod_Type); + (void)PyObject_INIT(im, &PyMethod_Type); numfree--; } else { diff -r 258558e36d8a Objects/complexobject.c --- a/Objects/complexobject.c Mon Aug 20 10:04:26 2012 +1000 +++ b/Objects/complexobject.c Mon Aug 20 10:41:52 2012 +1000 @@ -217,7 +217,7 @@ op = (PyComplexObject *) PyObject_MALLOC(sizeof(PyComplexObject)); if (op == NULL) return PyErr_NoMemory(); - PyObject_INIT(op, &PyComplex_Type); + (void)PyObject_INIT(op, &PyComplex_Type); op->cval = cval; return (PyObject *) op; } diff -r 258558e36d8a Objects/floatobject.c --- a/Objects/floatobject.c Mon Aug 20 10:04:26 2012 +1000 +++ b/Objects/floatobject.c Mon Aug 20 10:41:52 2012 +1000 @@ -124,7 +124,7 @@ return PyErr_NoMemory(); } /* Inline PyObject_New */ - PyObject_INIT(op, &PyFloat_Type); + (void)PyObject_INIT(op, &PyFloat_Type); op->ob_fval = fval; return (PyObject *) op; } diff -r 258558e36d8a Objects/longobject.c --- a/Objects/longobject.c Mon Aug 20 10:04:26 2012 +1000 +++ b/Objects/longobject.c Mon Aug 20 10:41:52 2012 +1000 @@ -5001,7 +5001,7 @@ assert(v->ob_digit[0] == abs(ival)); } else { - PyObject_INIT(v, &PyLong_Type); + (void)PyObject_INIT(v, &PyLong_Type); } Py_SIZE(v) = size; v->ob_digit[0] = abs(ival); diff -r 258558e36d8a Objects/methodobject.c --- a/Objects/methodobject.c Mon Aug 20 10:04:26 2012 +1000 +++ b/Objects/methodobject.c Mon Aug 20 10:41:52 2012 +1000 @@ -20,7 +20,7 @@ op = free_list; if (op != NULL) { free_list = (PyCFunctionObject *)(op->m_self); - PyObject_INIT(op, &PyCFunction_Type); + (void)PyObject_INIT(op, &PyCFunction_Type); numfree--; } else { diff -r 258558e36d8a Objects/typeobject.c --- a/Objects/typeobject.c Mon Aug 20 10:04:26 2012 +1000 +++ b/Objects/typeobject.c Mon Aug 20 10:41:52 2012 +1000 @@ -760,7 +760,7 @@ Py_INCREF(type); if (type->tp_itemsize == 0) - PyObject_INIT(obj, type); + (void)PyObject_INIT(obj, type); else (void) PyObject_INIT_VAR((PyVarObject *)obj, type, nitems);