scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit 1c9e1f19f0b16a458ec20d349b2bcbe13e1b3efb
parent a325ec3ead8b73bc6a72d685a38a83d21b8bc1d8
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon, 11 Feb 2019 16:56:23 +0000

[libmach/coff32] Remove fp field as it is not used

Diffstat:
Minclude/scc/scc/mach.h | 1-
Msrc/libmach/coff32/coff32read.c | 1-
2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/scc/scc/mach.h b/include/scc/scc/mach.h @@ -20,7 +20,6 @@ struct objsect { char *name; int type; unsigned flags; - FILE *fp; long offset; unsigned long long size; }; diff --git a/src/libmach/coff32/coff32read.c b/src/libmach/coff32/coff32read.c @@ -196,7 +196,6 @@ loadsections(Obj *obj, FILE *fp) return 0; memcpy(sp->name, scn->s_name, len); - sp->fp = fp; sp->offset = scn->s_scnptr; sp->size = scn->s_size; sp->type = type;