mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
fix compiler warning
This commit is contained in:
parent
e5bf383959
commit
b4ddfa41cc
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ Py_MakePendingCalls(void)
|
||||||
for (i=0; i<NPENDINGCALLS; i++) {
|
for (i=0; i<NPENDINGCALLS; i++) {
|
||||||
int j;
|
int j;
|
||||||
int (*func)(void *);
|
int (*func)(void *);
|
||||||
void *arg;
|
void *arg = NULL;
|
||||||
|
|
||||||
/* pop one item off the queue while holding the lock */
|
/* pop one item off the queue while holding the lock */
|
||||||
PyThread_acquire_lock(pending_lock, WAIT_LOCK);
|
PyThread_acquire_lock(pending_lock, WAIT_LOCK);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue