Commit db7f11f8 authored by Armin Rigo's avatar Armin Rigo
Browse files

Silence a gcc warning

parent 06e330ded4d0
......@@ -397,8 +397,9 @@ static PyObject *ffi_new_allocator(FFIObject *self, PyObject *args,
PyTuple_SET_ITEM(allocator, 2, my_free);
}
if (!should_clear_after_alloc) {
Py_INCREF(Py_True);
PyTuple_SET_ITEM(allocator, 3, Py_True); /* dont_clear_after_alloc */
PyObject *my_true = Py_True;
Py_INCREF(my_true);
PyTuple_SET_ITEM(allocator, 3, my_true); /* dont_clear_after_alloc */
}
{
......
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