Commit 6a4aff10 authored by Victor Stinner's avatar Victor Stinner

redecode_filename(): don't need to initialize variables

parent 5d1e3438
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment