diff options
author | Doug Evans <dje@gnu.org> | 1996-01-16 17:18:36 +0000 |
---|---|---|
committer | Doug Evans <dje@gnu.org> | 1996-01-16 17:18:36 +0000 |
commit | ed846da3088db9cfaff7d046773847ba47128891 (patch) | |
tree | b06ce4d5c3983b9df8c358982e16d7c4842e35cd /gcc/gcc.c | |
parent | 3c35520e75d5aa3bd8cf6da251e8c71b9945eebc (diff) | |
download | gcc-ed846da3088db9cfaff7d046773847ba47128891.zip gcc-ed846da3088db9cfaff7d046773847ba47128891.tar.gz gcc-ed846da3088db9cfaff7d046773847ba47128891.tar.bz2 |
(do_spec_1, case 'W'): Rename local `index' to `cur_index' to avoid warning
on solaris.
From-SVN: r11030
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |