This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
one more cppcharset warning fixlet
- From: Richard Henderson <rth at twiddle dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 30 Oct 2003 08:40:55 -0800
- Subject: one more cppcharset warning fixlet
Jan fixed one of these last week, but there was one more
preventing an Alpha bootstrap.
r~
* cppcharset.c (one_utf8_to_utf16): Initialize 's' to silence warning.
Index: cppcharset.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cppcharset.c,v
retrieving revision 1.2.2.5
diff -c -p -d -r1.2.2.5 cppcharset.c
*** cppcharset.c 25 Oct 2003 15:10:20 -0000 1.2.2.5
--- cppcharset.c 30 Oct 2003 16:22:17 -0000
*************** one_utf8_to_utf16 (iconv_t bigend, const
*** 337,343 ****
uchar **outbufp, size_t *outbytesleftp)
{
int rval;
! cppchar_t s;
const uchar *save_inbuf = *inbufp;
size_t save_inbytesleft = *inbytesleftp;
uchar *outbuf = *outbufp;
--- 337,343 ----
uchar **outbufp, size_t *outbytesleftp)
{
int rval;
! cppchar_t s = 0;
const uchar *save_inbuf = *inbufp;
size_t save_inbytesleft = *inbytesleftp;
uchar *outbuf = *outbufp;