diff Modules/_iconv_codec.c @ 27551:d3af1e793243 legacy-trunk

Initialize swappedinput to silence the compiler warning about uninitialized variables.
author Walter Dörwald <walter@livinglogic.de>
date Fri, 31 Jan 2003 16:26:50 +0000
parents cbc86028d9f3
children c267f28724dd
line wrap: on
line diff
--- a/Modules/_iconv_codec.c	Fri Jan 31 16:04:15 2003 +0000
+++ b/Modules/_iconv_codec.c	Fri Jan 31 16:26:50 2003 +0000
@@ -92,7 +92,7 @@
     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",