]> granicus.if.org Git - python/commitdiff
builtin_execfile(): initialize another local that the GCC on leroy
authorGuido van Rossum <guido@python.org>
Wed, 5 Sep 2001 13:37:47 +0000 (13:37 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 5 Sep 2001 13:37:47 +0000 (13:37 +0000)
found it necessary to warn about.

Python/bltinmodule.c

index 8fff44c279abd9e87dde5e76ed4c048cfc148624..55c71d39e60d4cc79c55ee760d06656a1a2c3a8d 100644 (file)
@@ -533,7 +533,7 @@ builtin_execfile(PyObject *self, PyObject *args)
        char *filename;
        PyObject *globals = Py_None, *locals = Py_None;
        PyObject *res;
-       FILE* fp;
+       FILE* fp = NULL;
        PyCompilerFlags cf;
        int exists;
        struct stat s;