1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138979

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;