From: ceriel Date: Thu, 2 Feb 1989 16:31:51 +0000 (+0000) Subject: delinted somewhat X-Git-Tag: release-5-5~2632 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=920ba0eebe1d5330e8330342ef679aee51cb5b45;p=ack.git delinted somewhat --- diff --git a/mach/proto/ncg/fillem.c b/mach/proto/ncg/fillem.c index 0c7bdc819..dd95f9801 100644 --- a/mach/proto/ncg/fillem.c +++ b/mach/proto/ncg/fillem.c @@ -77,7 +77,6 @@ int procno=0; int curseg= -1; int part_size=0; word part_word=0; -int endofprog=0; #ifdef REGVARS int regallowed=0; #endif @@ -140,7 +139,6 @@ fillemlines() { return; case EOF: nextispseu=1; savetab1=t; - endofprog=1; nemlines--; lp->em_instr = 0; return; @@ -552,7 +550,7 @@ char *strarg(t) { } bss(n,t,b) full n; { - register long s; + register long s = 0; if (n % TEM_WSIZE) fatal("bad BSS size"); diff --git a/mach/proto/ncg/main.c b/mach/proto/ncg/main.c index a778d6fb0..8a8e2a165 100644 --- a/mach/proto/ncg/main.c +++ b/mach/proto/ncg/main.c @@ -21,8 +21,6 @@ int Debug=0; char *strtdebug=""; #endif -extern int endofprog; - main(argc,argv) char **argv; { register unsigned n; extern unsigned cc1,cc2,cc3,cc4; diff --git a/mach/proto/ncg/move.c b/mach/proto/ncg/move.c index 49ab81da2..e28ecd9bf 100644 --- a/mach/proto/ncg/move.c +++ b/mach/proto/ncg/move.c @@ -18,8 +18,6 @@ static char rcsid[] = "$Header$"; * Author: Hans van Staveren */ -unsigned costcalc(); - move(tp1,tp2,ply,toplevel,maxcost) token_p tp1,tp2; unsigned maxcost; { register move_p mp; unsigned t;