]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxt_time: Drop initialization of variable 'year'
authorPhil Sutter <phil@nwl.cc>
Wed, 19 Sep 2018 13:16:52 +0000 (15:16 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 24 Sep 2018 09:24:04 +0000 (11:24 +0200)
commit6b7145fa2112e257073cc44346e9891fa23ce9c2
tree2d7f5f1d256d6b3f29c6bd2b7dda2f2917c897a2
parent749d3c2ecd6a9dc21f5a442c44495cb705621dff
libxt_time: Drop initialization of variable 'year'

The variable is not read before being assigned the return value of
strtoul(), thefore the initialization is useless. And since after this
change parameter 'end' becomes unused, drop it as well.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
extensions/libxt_time.c