quell GCC 4.1 uninitialised variable warnings.

XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
This commit is contained in:
mrg 2006-05-11 01:08:38 +00:00
parent 1e7e4f5c0c
commit 84ab62db88

View File

@ -1,4 +1,4 @@
/* $NetBSD: pf.c,v 1.21 2006/02/19 12:15:33 peter Exp $ */
/* $NetBSD: pf.c,v 1.22 2006/05/11 01:08:38 mrg Exp $ */
/* $OpenBSD: pf.c,v 1.483 2005/03/15 17:38:43 dhartmei Exp $ */
/*
@ -4691,6 +4691,8 @@ pf_test_state_icmp(struct pf_state **state, int direction, struct pfi_kif *kif,
int ipoff2 = 0;
int off2 = 0;
memset(&pd2, 0, sizeof pd2); /* XXX gcc */
pd2.af = pd->af;
switch (pd->af) {
#ifdef INET