This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]