diff options
author | Guido van Rossum <guido@python.org> | 1998-11-17 17:02:51 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-11-17 17:02:51 (GMT) |
commit | 50cd34888b6c83888e122139b1b222b668d5f138 (patch) | |
tree | ba28e03e52424e86aa55b3060460d52cac2c35c1 /Python | |
parent | 6d06094c77f08b95f649c7da46a85fffc419f497 (diff) | |
download | cpython-50cd34888b6c83888e122139b1b222b668d5f138.zip cpython-50cd34888b6c83888e122139b1b222b668d5f138.tar.gz cpython-50cd34888b6c83888e122139b1b222b668d5f138.tar.bz2 |
Remove some redundant initializations -- patch by Vladimir Marangozov.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ceval.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 413b316..e366072 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -352,8 +352,8 @@ eval_code2(co, globals, locals, int lastopcode = 0; #endif register unsigned char *next_instr; - register int opcode = 0; /* Current opcode */ - register int oparg = 0; /* Current opcode argument, if any */ + register int opcode; /* Current opcode */ + register int oparg; /* 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 */ @@ -363,8 +363,8 @@ eval_code2(co, globals, locals, register PyObject *u; register PyObject *t; register PyFrameObject *f; /* Current frame */ - register PyObject **fastlocals = NULL; - PyObject *retval = NULL; /* Return value */ + register PyObject **fastlocals; + PyObject *retval; /* Return value */ PyThreadState *tstate = PyThreadState_Get(); unsigned char *first_instr; #ifdef LLTRACE |