]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
redecode_filename(): don't need to initialize variables
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 15 Oct 2010 11:16:59 +0000 (11:16 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 15 Oct 2010 11:16:59 +0000 (11:16 +0000)
Python/pythonrun.c

index 012c1b85f2346986f196d1e38fa66457473574da..026fcfa8ce86154145e06fd9f43ee295d1de7a69 100644 (file)
@@ -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)