Mercurial > cpython-lru_cache-weakref
diff Python/ceval.c @ 51472:994fe4df4af7 legacy-trunk
Silence 'arg may be used uninitialized in this function' warning from gcc.
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Sun, 08 Feb 2009 17:33:11 +0000 |
| parents | 551257c8058a |
| children | 0848ebb8f9c8 |
line wrap: on
line diff
--- a/Python/ceval.c Sun Feb 08 15:14:57 2009 +0000 +++ b/Python/ceval.c Sun Feb 08 17:33:11 2009 +0000 @@ -450,7 +450,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);
