* cccp.c (do_include): Avoid initialization of automatic variable.

From-SVN: r30682
This commit is contained in:
Philippe De Muyter 1999-11-28 08:56:53 +01:00 committed by Jeff Law
parent 915b80ede3
commit e976142538
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,7 @@
Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
* cccp.c (do_include): Avoid initialization of automatic variable.
* integrate.c (mark_stores): Function definition made void, to match
previous declaration.
* regclass.c (dump_regclass): Ditto.

View File

@ -4554,7 +4554,9 @@ get_filename:
since it would put extra spaces in include file names. */
U_CHAR *src;
int errors_before_expansion = errors;
FILE_BUF trybuf = expand_to_temp_buffer (buf, limit, 1, 0);
FILE_BUF trybuf;
trybuf = expand_to_temp_buffer (buf, limit, 1, 0);
if (errors != errors_before_expansion) {
free (trybuf.buf);
goto invalid_include_file_name;