scc

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

commit 89fab1916685275ee160e5e4ba13d72d27ac074b
parent b0d8a13c5dd58a6187b6162df402fe426ceafda5
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 21 Feb 2018 21:20:55 +0000

[ar] Initialize member fileds in run()

Diffstat:
Mar/main.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/ar/main.c b/ar/main.c @@ -399,6 +399,9 @@ run(FILE *fp, int argc, char *argv[], { struct member op; + op.src = fp; + op.cur = BEFORE; + while (fread(&op.hdr, sizeof(op.hdr), 1, fp) == 1) { fpos_t pos;