summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-10-15 11:16:59 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-10-15 11:16:59 +0000
commit9add3cda9de8882b78ac036ab30a3ed068ec1a73 (patch)
treeb3cfeaa02afa2c88bc4d2a45c2ba334224c499d5 /Python
parenta22d3119013a15abc89aa99a47eaa0e168feb857 (diff)
downloadcpython-9add3cda9de8882b78ac036ab30a3ed068ec1a73.tar.gz
redecode_filename(): don't need to initialize variables
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonrun.c2
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)