o Redundant assignments removed.

Found by:	PVS-Stdio, V519
Reviewed by:	ae
This commit is contained in:
Maxim Konovalov 2017-04-13 18:13:10 +00:00
parent bcd8d3b805
commit f91eb6adad
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316778
2 changed files with 0 additions and 2 deletions

View File

@ -978,7 +978,6 @@ ipfw_install_state(struct ip_fw_chain *chain, struct ip_fw *rule,
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),

View File

@ -2319,7 +2319,6 @@ ta_del_ifidx(void *ta_state, struct table_info *ti, struct tentry_info *tei,
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);