Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2017 18:13:10 +0000 (UTC)
From:      Maxim Konovalov <maxim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316778 - head/sys/netpfil/ipfw
Message-ID:  <201704131813.v3DIDAm0066695@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: maxim
Date: Thu Apr 13 18:13:10 2017
New Revision: 316778
URL: https://svnweb.freebsd.org/changeset/base/316778

Log:
  o Redundant assignments removed.
  
  Found by:	PVS-Stdio, V519
  Reviewed by:	ae

Modified:
  head/sys/netpfil/ipfw/ip_fw_dynamic.c
  head/sys/netpfil/ipfw/ip_fw_table_algo.c

Modified: head/sys/netpfil/ipfw/ip_fw_dynamic.c
==============================================================================
--- head/sys/netpfil/ipfw/ip_fw_dynamic.c	Thu Apr 13 17:47:44 2017	(r316777)
+++ head/sys/netpfil/ipfw/ip_fw_dynamic.c	Thu Apr 13 18:13:10 2017	(r316778)
@@ -978,7 +978,6 @@ ipfw_install_state(struct ip_fw_chain *c
 
 		if (parent->count >= conn_limit) {
 			if (V_fw_verbose && last_log != time_uptime) {
-				last_log = time_uptime;
 				char sbuf[24];
 				last_log = time_uptime;
 				snprintf(sbuf, sizeof(sbuf),

Modified: head/sys/netpfil/ipfw/ip_fw_table_algo.c
==============================================================================
--- head/sys/netpfil/ipfw/ip_fw_table_algo.c	Thu Apr 13 17:47:44 2017	(r316777)
+++ head/sys/netpfil/ipfw/ip_fw_table_algo.c	Thu Apr 13 18:13:10 2017	(r316778)
@@ -2319,7 +2319,6 @@ ta_del_ifidx(void *ta_state, struct tabl
 	tb = (struct ta_buf_ifidx *)ta_buf;
 	ifname = (char *)tei->paddr;
 	icfg = (struct iftable_cfg *)ta_state;
-	ife = tb->ife;
 
 	ife = (struct ifentry *)ipfw_objhash_lookup_name(icfg->ii, 0, ifname);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704131813.v3DIDAm0066695>