Date: Tue, 4 Nov 2014 10:25:52 +0000 (UTC) From: "Alexander V. Chernikov" <melifaro@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r274087 - head/sys/netpfil/ipfw Message-ID: <201411041025.sA4APqxA001822@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: melifaro Date: Tue Nov 4 10:25:52 2014 New Revision: 274087 URL: https://svnweb.freebsd.org/changeset/base/274087 Log: Remove unused variable. Found by: Coverity CID: 1245739 Modified: head/sys/netpfil/ipfw/ip_fw_table.c Modified: head/sys/netpfil/ipfw/ip_fw_table.c ============================================================================== --- head/sys/netpfil/ipfw/ip_fw_table.c Tue Nov 4 10:21:34 2014 (r274086) +++ head/sys/netpfil/ipfw/ip_fw_table.c Tue Nov 4 10:25:52 2014 (r274087) @@ -1824,7 +1824,6 @@ create_table(struct ip_fw_chain *ch, ip_ char *tname, *aname; struct tid_info ti; struct namedobj_instance *ni; - struct table_config *tc; if (sd->valsize != sizeof(*oh) + sizeof(ipfw_xtable_info)) return (EINVAL); @@ -1853,7 +1852,7 @@ create_table(struct ip_fw_chain *ch, ip_ ni = CHAIN_TO_NI(ch); IPFW_UH_RLOCK(ch); - if ((tc = find_table(ni, &ti)) != NULL) { + if (find_table(ni, &ti) != NULL) { IPFW_UH_RUNLOCK(ch); return (EEXIST); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411041025.sA4APqxA001822>