summaryrefslogtreecommitdiffstats
path: root/Modules/_iconv_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_iconv_codec.c')
-rw-r--r--Modules/_iconv_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_iconv_codec.c b/Modules/_iconv_codec.c
index 4248127..d61adbc 100644
--- a/Modules/_iconv_codec.c
+++ b/Modules/_iconv_codec.c
@@ -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",