Kaydet (Commit) 5ed4997e authored tarafından Neal Norwitz's avatar Neal Norwitz

Get rid of compiler warning

üst 93bf9022
...@@ -1130,9 +1130,9 @@ static void ...@@ -1130,9 +1130,9 @@ static void
setint(PyObject *d, const char *name, long value) setint(PyObject *d, const char *name, long value)
{ {
PyObject *o = PyInt_FromLong(value); PyObject *o = PyInt_FromLong(value);
if (o) if (o && PyDict_SetItemString(d, name, o) == 0) {
if (PyDict_SetItemString(d, name, o) == 0)
Py_DECREF(o); Py_DECREF(o);
}
} }
PyMODINIT_FUNC PyMODINIT_FUNC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment