_cpp_replacement_text_len and len

Andrew Pinski pinskia@physics.uc.edu
Wed Jun 19 07:38:00 GMT 2002


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: application/octet-stream
Size: 455 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20020619/1e22699c/attachment.obj>
-------------- next part --------------



More information about the Gcc mailing list