mirror of
https://github.com/python/cpython.git
synced 2026-03-24 05:31:00 +00:00
Fix compiler warning about unused function.
This commit is contained in:
parent
66d8ce510a
commit
a55fe10487
1 changed files with 4 additions and 0 deletions
|
|
@ -182,6 +182,8 @@ get_long(PyObject *v, long *p)
|
|||
|
||||
/* Same, but handling unsigned long */
|
||||
|
||||
#ifndef PY_STRUCT_OVERFLOW_MASKING
|
||||
|
||||
static int
|
||||
get_ulong(PyObject *v, unsigned long *p)
|
||||
{
|
||||
|
|
@ -202,6 +204,8 @@ get_ulong(PyObject *v, unsigned long *p)
|
|||
return 0;
|
||||
}
|
||||
|
||||
#endif /* PY_STRUCT_OVERFLOW_MASKING */
|
||||
|
||||
#ifdef HAVE_LONG_LONG
|
||||
|
||||
/* Same, but handling native long long. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue