From: Fred Drake Date: Wed, 11 Oct 2000 13:54:07 +0000 (+0000) Subject: Remove the last gcc -Wall warning about possible use of an uninitialized X-Git-Tag: v2.0~103 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48fba733b90134e738724f2c03b1eb2dfe0d7325;p=python Remove the last gcc -Wall warning about possible use of an uninitialized variable. w should be initialized before entering the bytecode interpretation loop since we only need one initialization to satisfy the compiler. --- diff --git a/Python/ceval.c b/Python/ceval.c index b6a3addde4..ca38c682c3 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -578,6 +578,7 @@ eval_code2(PyCodeObject *co, PyObject *globals, PyObject *locals, why = WHY_NOT; err = 0; x = Py_None; /* Not a reference, just anything non-NULL */ + w = NULL; for (;;) { /* Do periodic things. Doing this every time through