]> git.ipfire.org Git - thirdparty/iptables.git/commit
iptables-restore: Drop dead code
authorPhil Sutter <phil@nwl.cc>
Thu, 13 Jul 2023 16:32:02 +0000 (18:32 +0200)
committerPhil Sutter <phil@nwl.cc>
Tue, 1 Aug 2023 15:16:37 +0000 (17:16 +0200)
commit4d9453233538200e9663c6bd0c2df09e1671b5f4
tree8411cf59886409a4e5d076ebb37c3b1accbb392e
parent3bbf5269f25d7bc8cb6ecf2c44e6358579acc459
iptables-restore: Drop dead code

Handle initialization is guarded by 'in_table' boolean, so there can't
be a handle already (because the branch which unsets 'in_table' also
frees the handle).

Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/iptables-restore.c