]> granicus.if.org Git - python/commitdiff
Silence 'arg may be used uninitialized in this function' warning from gcc.
authorMark Dickinson <dickinsm@gmail.com>
Sun, 8 Feb 2009 17:33:11 +0000 (17:33 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sun, 8 Feb 2009 17:33:11 +0000 (17:33 +0000)
Python/ceval.c

index 4facda48102d2afbbd2985cd4ed1eeb21b57e355..d457fd5489483e4388d1e28348ecf74746d223cd 100644 (file)
@@ -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);