Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 65347:f63d747622bd
redecode_filename(): don't need to initialize variables
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Fri, 15 Oct 2010 11:16:59 +0000 |
| parents | a75fd31ddabb |
| children | 453fd8182c2f |
line wrap: on
line diff
--- a/Python/pythonrun.c Fri Oct 15 11:15:54 2010 +0000 +++ b/Python/pythonrun.c Fri Oct 15 11:16:59 2010 +0000 @@ -725,7 +725,7 @@ redecode_filename(PyObject *file, const char *new_encoding, const char *errors) { - PyObject *file_bytes = NULL, *new_file = NULL; + PyObject *file_bytes, *new_file; file_bytes = PyUnicode_EncodeFSDefault(file); if (file_bytes == NULL)
