Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa39a7e

Browse files
author
Moshe Zadka
committed
Initialized opcode and oparg to silence a gcc -Wall warning.
1 parent 1b024d3 commit aa39a7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Python/ceval.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ eval_code2(PyCodeObject *co, PyObject *globals, PyObject *locals,
315315
int lastopcode = 0;
316316
#endif
317317
register unsigned char *next_instr;
318-
register int opcode; /* Current opcode */
319-
register int oparg; /* Current opcode argument, if any */
318+
register int opcode=0; /* Current opcode */
319+
register int oparg=0; /* Current opcode argument, if any */
320320
register PyObject **stack_pointer;
321321
register enum why_code why; /* Reason for block stack unwind */
322322
register int err; /* Error status -- nonzero if error */

0 commit comments

Comments
 (0)