Messages in this thread | | | Date | Mon, 6 Mar 2017 18:06:36 +0100 | From | Pablo Neira Ayuso <> | Subject | Re: [PATCH] netfilter: remove redundant check on ret being non-zero |
| |
On Tue, Feb 28, 2017 at 11:31:15AM +0000, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > ret is initialized to zero and if it is set to non-zero in the > xt_entry_foreach loop then we exit via the out_free label. Hence > the check for ret being non-zero is redundant and can be removed. > > Detected by CoverityScan, CID#1357132 ("Logically Dead Code")
Applied, thanks.
| |