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] |
I forgot to send this here: Could someone look at it? Begin forwarded message:
From: Andrew Pinski <pinskia@physics.uc.edu>
Date: Wed Jun 19, 2002 10:19:59 US/Eastern
To: gcc@gcc.gnu.org
Subject: _cpp_replacement_text_len and len
These are new warnings and they look not be a false positive:
gcc/cpptrad.c: In function `_cpp_replacement_text_len':
gcc/cpptrad.c:802: warning: `len' might be used uninitialized in this function
It looks like len should be initialized to 0 at the begin of the function.
Attached is a fix
Attachment:
diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |