diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-15 11:16:59 +0000 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-15 11:16:59 +0000 |
commit | 9add3cda9de8882b78ac036ab30a3ed068ec1a73 (patch) | |
tree | b3cfeaa02afa2c88bc4d2a45c2ba334224c499d5 /Python | |
parent | a22d3119013a15abc89aa99a47eaa0e168feb857 (diff) | |
download | cpython-9add3cda9de8882b78ac036ab30a3ed068ec1a73.tar.gz |
redecode_filename(): don't need to initialize variables
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pythonrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 012c1b85f2..026fcfa8ce 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -725,7 +725,7 @@ static PyObject* 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) |