[PATCH] Remove unused variable in gas/write.c
Thiemo Seufer
ica2_ts@csv.ica.uni-stuttgart.de
Mon Apr 7 03:54:00 GMT 2003
Hello All,
this patch removes an unused variable. Committed as obvious.
Thiemo
2003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
/gas/ChangeLog
* write.c (write_relocs): Remove unused variable.
diff -BurpNX /bigdisk/src/gcc-exclude source-orig/gas/write.c source/gas/write.c
--- source-orig/gas/write.c Tue Apr 1 17:50:29 2003
+++ source/gas/write.c Sun Apr 6 04:00:04 2003
@@ -1017,7 +1017,6 @@ write_relocs (abfd, sec, xxx)
for (fixp = seginfo->fix_root; fixp != (fixS *) NULL; fixp = fixp->fx_next)
{
arelent **reloc;
- char *data;
bfd_reloc_status_type s;
symbolS *sym;
int j;
@@ -1053,7 +1052,6 @@ write_relocs (abfd, sec, xxx)
relocs[i++] = reloc[j];
assert (i <= n);
}
- data = fixp->fx_frag->fr_literal + fixp->fx_where;
if (fixp->fx_where + fixp->fx_size
> fixp->fx_frag->fr_fix + fixp->fx_frag->fr_offset)
as_bad_where (fixp->fx_file, fixp->fx_line,
More information about the Binutils
mailing list