mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Initialize swappedinput to silence the compiler warning about
uninitialized variables.
This commit is contained in:
parent
c1265bd9a6
commit
757246c189
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ iconvcodec_encode(iconvcodecObject *self, PyObject *args, PyObject *kwargs)
|
|||
size_t inplen, inplen_total, outlen, outlen_total, estep;
|
||||
PyObject *outputobj = NULL, *errorcb = NULL,
|
||||
*exceptionobj = NULL;
|
||||
Py_UNICODE *swappedinput;
|
||||
Py_UNICODE *swappedinput = NULL;
|
||||
int swapi;
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "u#|s:encode",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue