Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
PyPy
cffi
Commits
d0e1c599a102
Commit
db7f11f8
authored
Jul 09, 2015
by
Armin Rigo
Browse files
Silence a gcc warning
parent
06e330ded4d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
c/ffi_obj.c
View file @
d0e1c599
...
...
@@ -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 */
}
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment