summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-02-12 23:44:46 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-02-13 18:19:07 +0100
commit9b477e07e00bc2d651784d7c82c2123f0bd7386b (patch)
treef851c8decdc61b09ab3cace66fb95c50da980d6b /include
parent764a435c26e29900921ad5cdbd160a466c3c7416 (diff)
nfct: Drop dead code in nfct_timeout_parse_params()
Due to the first switch() in that function, default case in second one is unreachable. Given that both of them contain the same cases but the first one merely acts as an invalid command barrier (adding no value to the second one), drop the first one to make invalid commands actually hit default case in the second switch(). Fixes: dd73ceecdbe87 ("nfct: Update syntax to specify command before subsystem") Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions