mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
redecode_filename(): don't need to initialize variables
This commit is contained in:
parent
5d1e3438cd
commit
6a4aff10f0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue