Commit d1b680c6 by Paul Eggert

(skip_comment, handle_directive): Don't use uninitialized vars.

From-SVN: r11948
parent cff3d762
...@@ -890,7 +890,7 @@ skip_comment (pfile, linep) ...@@ -890,7 +890,7 @@ skip_comment (pfile, linep)
cpp_reader *pfile; cpp_reader *pfile;
long *linep; long *linep;
{ {
int c; int c = 0;
while (PEEKC() == '\\' && PEEKN(1) == '\n') while (PEEKC() == '\\' && PEEKN(1) == '\n')
{ {
if (linep) if (linep)
...@@ -1113,7 +1113,9 @@ handle_directive (pfile) ...@@ -1113,7 +1113,9 @@ handle_directive (pfile)
break; break;
} }
if (! kt->command_reads_line) if (kt->command_reads_line)
after_ident = 0;
else
{ {
/* Nonzero means do not delete comments within the directive. /* Nonzero means do not delete comments within the directive.
#define needs this when -traditional. */ #define needs this when -traditional. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment