aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-09-15 17:54:31 -0700
committerRichard Henderson <rth@gcc.gnu.org>1999-09-15 17:54:31 -0700
commit637194e69a20cab4a299af8c9706e67a6724f215 (patch)
treeb9ab05323b17c48e8827454d13213f76a6253185
parentdd8c13e38722b002cbc000a73ba539a7eedbc496 (diff)
downloadgcc-637194e69a20cab4a299af8c9706e67a6724f215.zip
gcc-637194e69a20cab4a299af8c9706e67a6724f215.tar.gz
gcc-637194e69a20cab4a299af8c9706e67a6724f215.tar.bz2
* c-lex.c (yylex): Initialize warn.
From-SVN: r29447
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/c-lex.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 39930f9..aff2d71 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
+
+ * c-lex.c (yylex): Initialize warn.
+
Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
* pa.c (emit_move_sequence): Properly set the mode of the scratch
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 1af77d4..c4619c4 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -1761,7 +1761,7 @@ yylex ()
int spec_long = 0;
int spec_long_long = 0;
int spec_imag = 0;
- int warn, i;
+ int warn = 0, i;
traditional_type = ansi_type = type = NULL_TREE;
while (1)