* cpptrad.c (_cpp_replacement_text_len): initialize len.

From-SVN: r54797
This commit is contained in:
Andrew Pinski 2002-06-19 19:59:45 +00:00 committed by Neil Booth
parent 9c8d079c42
commit 7999462c22
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2002-06-19 Andrew Pinski <pinskia@physics.uc.edu>
* cpptrad.c (_cpp_replacement_text_len): initialize len.
2002-06-19 Jason Merrill <jason@redhat.com>
* Makefile.in (unstrap, restrap): New targets.

View file

@ -805,6 +805,7 @@ _cpp_replacement_text_len (macro)
{
const uchar *exp;
len = 0;
for (exp = macro->exp.text;;)
{
struct block *b = (struct block *) exp;