diff options
author | Walter Dörwald <walter@livinglogic.de> | 2003-01-31 16:26:50 (GMT) |
---|---|---|
committer | Walter Dörwald <walter@livinglogic.de> | 2003-01-31 16:26:50 (GMT) |
commit | 757246c1894b49bd79b3b6ec86782662e6872601 (patch) | |
tree | 8a7edb295e36386f003a4436fe9f787310157ea4 | |
parent | c1265bd9a65b510c290667f7d9fbbf6e3156f386 (diff) | |
download | cpython-757246c1894b49bd79b3b6ec86782662e6872601.zip cpython-757246c1894b49bd79b3b6ec86782662e6872601.tar.gz cpython-757246c1894b49bd79b3b6ec86782662e6872601.tar.bz2 |
Initialize swappedinput to silence the compiler warning about
uninitialized variables.
-rw-r--r-- | Modules/_iconv_codec.c | 2 |
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", |