diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-11 13:54:07 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-11 13:54:07 (GMT) |
commit | 48fba733b90134e738724f2c03b1eb2dfe0d7325 (patch) | |
tree | a5a995bfd721a098adb2bf2fd5cf2997598cdfa2 /Python | |
parent | 35ba689caba292bbe5093026eaab43957992c089 (diff) | |
download | cpython-48fba733b90134e738724f2c03b1eb2dfe0d7325.zip cpython-48fba733b90134e738724f2c03b1eb2dfe0d7325.tar.gz cpython-48fba733b90134e738724f2c03b1eb2dfe0d7325.tar.bz2 |
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.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ceval.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index b6a3add..ca38c68 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 |