[Python-checkins] r69443 - python/trunk/Python/ceval.c
mark.dickinson
python-checkins at python.org
Sun Feb 8 18:33:11 CET 2009
Author: mark.dickinson
Date: Sun Feb 8 18:33:11 2009
New Revision: 69443
Log:
Silence 'arg may be used uninitialized in this function' warning from gcc.
Modified:
python/trunk/Python/ceval.c
Modified: python/trunk/Python/ceval.c
==============================================================================
--- python/trunk/Python/ceval.c (original)
+++ python/trunk/Python/ceval.c Sun Feb 8 18:33:11 2009
@@ -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);
More information about the Python-checkins
mailing list