From ed846da3088db9cfaff7d046773847ba47128891 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 16 Jan 1996 17:18:36 +0000 Subject: [PATCH] (do_spec_1, case 'W'): Rename local `index' to `cur_index' to avoid warning on solaris. From-SVN: r11030 --- gcc/gcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/gcc.c b/gcc/gcc.c index 53d3dbc9862..613e9046b38 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -3412,7 +3412,7 @@ do_spec_1 (spec, inswitch, soft_matched_part) case 'W': { - int index = argbuf_index; + int cur_index = argbuf_index; /* Handle the {...} following the %W. */ if (*p != '{') abort (); @@ -3421,7 +3421,7 @@ do_spec_1 (spec, inswitch, soft_matched_part) return -1; /* If any args were output, mark the last one for deletion on failure. */ - if (argbuf_index != index) + if (argbuf_index != cur_index) record_temp_file (argbuf[argbuf_index - 1], 0, 1); break; } -- 2.30.2