summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-28 07:56:53 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-28 07:56:53 +0000
commita957089b6b94116d666fa2bbd9163c12f4f2d57e (patch)
tree846428214338f279c9130ce6628c8ed92feaae5c
parent20cfb17d108c400a9f107794aff6214c404d8010 (diff)
downloadppe42-gcc-a957089b6b94116d666fa2bbd9163c12f4f2d57e.tar.gz
ppe42-gcc-a957089b6b94116d666fa2bbd9163c12f4f2d57e.zip
* cccp.c (do_include): Avoid initialization of automatic variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30682 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/cccp.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 27dc939437e..7836fbe0fea 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/cccp.c b/gcc/cccp.c
index ebdbd4ca970..ef561127734 100644
--- a/gcc/cccp.c
+++ b/gcc/cccp.c
@@ -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;
OpenPOWER on IntegriCloud