diff options
author | Paul Eggert <eggert@gnu.org> | 1996-05-07 01:37:49 +0000 |
---|---|---|
committer | Paul Eggert <eggert@gnu.org> | 1996-05-07 01:37:49 +0000 |
commit | d1b680c63b484963461a7a8be9b046b2827841f3 (patch) | |
tree | b6d8c494d4c316828c9bd036c9b01509d823c399 /gcc/cpplib.c | |
parent | cff3d762dc57a3a91e1dfaeccb9fbee5457b6e40 (diff) | |
download | gcc-d1b680c63b484963461a7a8be9b046b2827841f3.tar.gz |
(skip_comment, handle_directive): Don't use uninitialized vars.
From-SVN: r11948
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 3ed09fc6e82..2775e25e527 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -890,7 +890,7 @@ skip_comment (pfile, linep) cpp_reader *pfile; long *linep; { - int c; + int c = 0; while (PEEKC() == '\\' && PEEKN(1) == '\n') { if (linep) @@ -1113,7 +1113,9 @@ handle_directive (pfile) break; } - if (! kt->command_reads_line) + if (kt->command_reads_line) + after_ident = 0; + else { /* Nonzero means do not delete comments within the directive. #define needs this when -traditional. */ |