summaryrefslogtreecommitdiffstats
path: root/xlate-test.py
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2017-10-20 13:24:36 +0200
committerFlorian Westphal <fw@strlen.de>2017-10-20 13:52:40 +0200
commitd0e3d95fa3442c6ff32f7fed3e0d2eeb2248ef9f (patch)
tree4ae2b6d508c83fab5ec096e7f9e73c247fe2b103 /xlate-test.py
parent23e6ed71eeb80c484e9ed5f7dde3158d658d7f94 (diff)
libxt_recent: Remove ineffective checks for info->name
In struct xt_recent_mtinfo{,_v1}, field 'name' is an array, not a pointer. So there is no point in comparing it against NULL. Changing the check to make sure it's content is not an empty string is pointless either, since a non-empty default string is used and the argument parser will refuse empty strings as --name argument. So simply get rid of the checks altogether. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'xlate-test.py')
0 files changed, 0 insertions, 0 deletions