commit | 9e58a372524f86362921978f18b0aca07da57e20 | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Sun Feb 08 17:33:11 2009 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Sun Feb 08 17:33:11 2009 +0000 |
tree | 6bb39ddeb9658b1d0ea5ee94efac4199a8cb36f0 | |
parent | b8e17f7370ff7064bc7cd1d3f7d6e053946581f0 [diff] [blame] |
Silence 'arg may be used uninitialized in this function' warning from gcc.
diff --git a/Python/ceval.c b/Python/ceval.c index 4facda4..d457fd5 100644 --- a/Python/ceval.c +++ b/Python/ceval.c
@@ -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);