From: Walter Dörwald Date: Fri, 31 Jan 2003 16:26:50 +0000 (+0000) Subject: Initialize swappedinput to silence the compiler warning about X-Git-Tag: v2.3c1~2158 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=757246c1894b49bd79b3b6ec86782662e6872601;p=thirdparty%2FPython%2Fcpython.git Initialize swappedinput to silence the compiler warning about uninitialized variables. --- diff --git a/Modules/_iconv_codec.c b/Modules/_iconv_codec.c index 424812760906..d61adbcab47f 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",