From 14d7db7499802268a26df8e469dc4360496cc11a Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 31 Mar 1988 11:17:47 +0000 Subject: [PATCH] remove some of the lint complaints --- mach/proto/ncg/codegen.c | 2 ++ mach/proto/ncg/reg.c | 4 ++++ mach/proto/ncg/subr.c | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/mach/proto/ncg/codegen.c b/mach/proto/ncg/codegen.c index 7157656f2..f214c87c4 100644 --- a/mach/proto/ncg/codegen.c +++ b/mach/proto/ncg/codegen.c @@ -256,7 +256,9 @@ if (Debug) c3_p regcp[MAXCREG]; rl_p regls[MAXCREG]; c3_p cp,findcoerc(); +#ifdef MAXSPLIT int sret; +#endif int stackpad; struct perm *tup,*ntup,*besttup,*tuples(); diff --git a/mach/proto/ncg/reg.c b/mach/proto/ncg/reg.c index 861b9419b..9ebdb8bf5 100644 --- a/mach/proto/ncg/reg.c +++ b/mach/proto/ncg/reg.c @@ -20,7 +20,9 @@ static char rcsid[] = "$Header$"; chrefcount(regno,amount,tflag) { register struct reginfo *rp; +#if MAXMEMBERS != 0 register i; +#endif rp= &machregs[regno]; #if MAXMEMBERS!=0 @@ -40,7 +42,9 @@ chrefcount(regno,amount,tflag) { getrefcount(regno) { register struct reginfo *rp; +#if MAXMEMBERS != 0 register i,maxcount; +#endif rp= &machregs[regno]; #if MAXMEMBERS!=0 diff --git a/mach/proto/ncg/subr.c b/mach/proto/ncg/subr.c index 2a57c2ce4..957ac974b 100644 --- a/mach/proto/ncg/subr.c +++ b/mach/proto/ncg/subr.c @@ -52,7 +52,9 @@ instance(instno,token) register token_p token; { register inst_p inp; int i; register token_p tp; +#if MAXMEMBERS != 0 struct reginfo *rp; +#endif int regno; result_t result; @@ -145,7 +147,9 @@ instance(instno,token) register token_p token; { cinstance(instno,token,tp,regno) register token_p token,tp; { register inst_p inp; int i; +#if MAXMEMBERS != 0 struct reginfo *rp; +#endif result_t result; int sh; /* saved stackheight */ -- 2.34.1