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

Skip to content

Commit b3a639e

Browse files
committed
builtin_execfile(): initialize another local that the GCC on leroy
found it necessary to warn about.
1 parent c010c17 commit b3a639e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/bltinmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ builtin_execfile(PyObject *self, PyObject *args)
533533
char *filename;
534534
PyObject *globals = Py_None, *locals = Py_None;
535535
PyObject *res;
536-
FILE* fp;
536+
FILE* fp = NULL;
537537
PyCompilerFlags cf;
538538
int exists;
539539
struct stat s;

0 commit comments

Comments
 (0)