pfsync: ensure 'error' is always initialised
Reported by: Herbert J. Skuhra <herbert@gojira.at> MFC after: 2 weeks
This commit is contained in:
parent
9a1cab6d79
commit
f52ca3dfd5
@ -2327,7 +2327,7 @@ static void
|
||||
pfsync_tx(struct pfsync_softc *sc, struct mbuf *m)
|
||||
{
|
||||
struct ip *ip;
|
||||
int error, af;
|
||||
int af, error = 0;
|
||||
|
||||
ip = mtod(m, struct ip *);
|
||||
MPASS(ip->ip_v == IPVERSION || ip->ip_v == (IPV6_VERSION >> 4));
|
||||
|
Loading…
Reference in New Issue
Block a user