diff options
author | Moshe Zadka <moshez@math.huji.ac.il> | 2000-08-07 06:34:45 (GMT) |
---|---|---|
committer | Moshe Zadka <moshez@math.huji.ac.il> | 2000-08-07 06:34:45 (GMT) |
commit | aa39a7edf704da9c3107456809a8b8b7b6619daa (patch) | |
tree | 299a63ef591a33e9f7fe07b383c98652addccf77 | |
parent | 1b024d37a7e56279db00c7d775397f19927736a9 (diff) | |
download | cpython-aa39a7edf704da9c3107456809a8b8b7b6619daa.zip cpython-aa39a7edf704da9c3107456809a8b8b7b6619daa.tar.gz cpython-aa39a7edf704da9c3107456809a8b8b7b6619daa.tar.bz2 |
Initialized opcode and oparg to silence a gcc -Wall warning.
-rw-r--r-- | Python/ceval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 5822a85..9bcb2ad 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -315,8 +315,8 @@ eval_code2(PyCodeObject *co, PyObject *globals, PyObject *locals, int lastopcode = 0; #endif register unsigned char *next_instr; - register int opcode; /* Current opcode */ - register int oparg; /* Current opcode argument, if any */ + register int opcode=0; /* Current opcode */ + register int oparg=0; /* Current opcode argument, if any */ register PyObject **stack_pointer; register enum why_code why; /* Reason for block stack unwind */ register int err; /* Error status -- nonzero if error */ |