mirror of
https://github.com/python/cpython.git
synced 2026-06-23 03:23:38 -04:00
redecode_filename(): don't need to initialize variables
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user