Mercurial > cpython-lru_cache-weakref
diff Python/ceval.c @ 50840:29edf26b9c23
fix compiler warning
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sat, 17 Jan 2009 23:46:54 +0000 |
| parents | 75009d4863c9 |
| children | d86e23318b41 |
line wrap: on
line diff
--- a/Python/ceval.c Sat Jan 17 23:43:58 2009 +0000 +++ b/Python/ceval.c Sat Jan 17 23:46:54 2009 +0000 @@ -441,7 +441,7 @@ 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);
