From d1b680c63b484963461a7a8be9b046b2827841f3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 7 May 1996 01:37:49 +0000 Subject: (skip_comment, handle_directive): Don't use uninitialized vars. From-SVN: r11948 --- gcc/cpplib.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gcc/cpplib.c') 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. */ -- cgit v1.2.1