Move two variables that are unused if LARGE_NAT is defined inside an #ifdef

to keep them out of harms way when compiling.

PR:	72783
This commit is contained in:
Darren Reed 2004-12-17 15:59:16 +00:00
parent f33e5b1ab2
commit f42b5dbebb

View File

@ -2879,11 +2879,14 @@ void nat_log(nat, type)
struct nat *nat;
u_int type;
{
# ifdef LARGE_NAT
struct ipnat *np;
int rulen;
# endif
struct natlog natl;
void *items[1];
size_t sizes[1];
int rulen, types[1];
int types[1];
natl.nl_inip = nat->nat_inip;
natl.nl_outip = nat->nat_outip;