mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Silence 'arg may be used uninitialized in this function' warning from gcc.
This commit is contained in:
parent
b8e17f7370
commit
9e58a37252
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ Py_MakePendingCalls(void)
|
|||
for (i=0; i<NPENDINGCALLS; i++) {
|
||||
int j;
|
||||
int (*func)(void *);
|
||||
void *arg;
|
||||
void *arg = NULL;
|
||||
|
||||
/* pop one item off the queue while holding the lock */
|
||||
PyThread_acquire_lock(pending_lock, WAIT_LOCK);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue