Date: Sat, 14 May 2016 19:11:35 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r299750 - stable/10/contrib/ipfilter Message-ID: <201605141911.u4EJBZWt006381@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605141911.u4EJBZWt006381>