Skip to content

Commit 170ea6d

Browse files
committed
Initialize field to prevent code analyzer warning.
1 parent c7683a4 commit 170ea6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/ceval.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -821,6 +821,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
821821
entry_frame.instr_ptr = (_Py_CODEUNIT *)_Py_INTERPRETER_TRAMPOLINE_INSTRUCTIONS + 1;
822822
entry_frame.stackpointer = entry_frame.localsplus;
823823
entry_frame.owner = FRAME_OWNED_BY_CSTACK;
824+
entry_frame.visited = 0;
824825
entry_frame.return_offset = 0;
825826
/* Push frame */
826827
entry_frame.previous = tstate->current_frame;

0 commit comments

Comments
 (0)