From owner-svn-src-stable-10@freebsd.org Sat May 14 19:11:36 2016 Return-Path: Delivered-To: svn-src-stable-10@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 377F0B3BB96; Sat, 14 May 2016 19:11:36 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 097921B24; Sat, 14 May 2016 19:11:35 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4EJBZpK006382; Sat, 14 May 2016 19:11:35 GMT (envelope-from cy@FreeBSD.org) Received: (from cy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4EJBZWt006381; Sat, 14 May 2016 19:11:35 GMT (envelope-from cy@FreeBSD.org) Message-Id: <201605141911.u4EJBZWt006381@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cy set sender to cy@FreeBSD.org using -f From: Cy Schubert Date: Sat, 14 May 2016 19:11:35 +0000 (UTC) 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 X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 May 2016 19:11:36 -0000 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