mirror of
https://github.com/python/cpython.git
synced 2025-07-19 01:05:26 +00:00
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:
parent
35ba689cab
commit
48fba733b9
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue