mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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:
parent
f33e5b1ab2
commit
f42b5dbebb
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue