svn commit: r316778 - head/sys/netpfil/ipfw
Maxim Konovalov
maxim at FreeBSD.org
Thu Apr 13 18:13:12 UTC 2017
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);
More information about the svn-src-head
mailing list