mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
SF # 533070 Silence AIX C Compiler Warnings
Warning caused by using &func. & is not necessary.
This commit is contained in:
parent
e7b8ecf196
commit
4178515035
2 changed files with 2 additions and 2 deletions
|
@ -522,7 +522,7 @@ initsignal(void)
|
||||||
Py_INCREF(IntHandler);
|
Py_INCREF(IntHandler);
|
||||||
Py_DECREF(Handlers[SIGINT].func);
|
Py_DECREF(Handlers[SIGINT].func);
|
||||||
Handlers[SIGINT].func = IntHandler;
|
Handlers[SIGINT].func = IntHandler;
|
||||||
old_siginthandler = PyOS_setsig(SIGINT, &signal_handler);
|
old_siginthandler = PyOS_setsig(SIGINT, signal_handler);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SIGHUP
|
#ifdef SIGHUP
|
||||||
|
|
|
@ -1953,7 +1953,7 @@ PyTypeObject *_Py_cobject_hack = &PyCObject_Type;
|
||||||
|
|
||||||
|
|
||||||
/* Hack to force loading of abstract.o */
|
/* Hack to force loading of abstract.o */
|
||||||
int (*_Py_abstract_hack)(PyObject *) = &PyObject_Size;
|
int (*_Py_abstract_hack)(PyObject *) = PyObject_Size;
|
||||||
|
|
||||||
|
|
||||||
/* Python's malloc wrappers (see pymem.h) */
|
/* Python's malloc wrappers (see pymem.h) */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue