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); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"