diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-11 13:54:07 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-11 13:54:07 +0000 |
commit | 48fba733b90134e738724f2c03b1eb2dfe0d7325 (patch) | |
tree | a5a995bfd721a098adb2bf2fd5cf2997598cdfa2 /Python/ceval.c | |
parent | 35ba689caba292bbe5093026eaab43957992c089 (diff) | |
download | cpython-git-48fba733b90134e738724f2c03b1eb2dfe0d7325.tar.gz |
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/ceval.c')
-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 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 |