mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Use (void) to throw away a function result, not (void *) !
This commit is contained in:
parent
0132f69c2e
commit
a5e54d02a0
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ signal_handler(sig_num)
|
|||
return;
|
||||
}
|
||||
#endif
|
||||
(void *)signal(sig_num, &signal_handler);
|
||||
(void)signal(sig_num, &signal_handler);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue