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.
This commit is contained in:
Fred Drake 2000-10-11 13:54:07 +00:00
parent 35ba689cab
commit 48fba733b9

View file

@ -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