svn commit: r299750 - stable/10/contrib/ipfilter
Cy Schubert
cy at FreeBSD.org
Sat May 14 19:11:36 UTC 2016
Author: cy
Date: Sat May 14 19:11:35 2016
New Revision: 299750
URL: https://svnweb.freebsd.org/changeset/base/299750
Log:
MFC r298031: Static pointers need not be initialized.
Modified:
stable/10/contrib/ipfilter/mli_ipl.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/contrib/ipfilter/mli_ipl.c
==============================================================================
--- stable/10/contrib/ipfilter/mli_ipl.c Sat May 14 19:09:32 2016 (r299749)
+++ stable/10/contrib/ipfilter/mli_ipl.c Sat May 14 19:11:35 2016 (r299750)
@@ -64,9 +64,9 @@ ipfrwlock_t ipf_global, ipf_mutex, ipf_i
int (*ipf_checkp) __P((struct ip *, int, void *, int, mb_t **));
#ifdef IPFILTER_LKM
-static int *ipff_addr = 0;
+static int *ipff_addr;
static int ipff_value;
-static __psunsigned_t *ipfk_addr = 0;
+static __psunsigned_t *ipfk_addr;
static __psunsigned_t ipfk_code[4];
#endif
static void nifattach();
@@ -85,7 +85,7 @@ typedef struct nif {
int nf_unit;
} nif_t;
-static nif_t *nif_head = 0;
+static nif_t *nif_head;
static int nif_interfaces = 0;
extern int in_interfaces;
#if IRIX >= 60500
More information about the svn-src-stable
mailing list