diff options
author | Phil Sutter <phil@nwl.cc> | 2017-12-14 20:40:21 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-12-15 16:22:32 +0100 |
commit | fd9ab5c922cd8d15e8f0251c70bcd9532158e9b0 (patch) | |
tree | 211acabdcdd65758f085673e4589e45ba257d309 /examples | |
parent | 4177002b26f025891cc509b54dc76bcf98f1c35f (diff) |
gen: Remove a pointless call to mnl_nlmsg_get_payload()
It is a common idiom in all *_nlmsg_parse() functions, but
nftnl_gen_nlmsg_parse() doesn't make use of the data pointer and the
compiler probably can't eliminate it since there could be a side-effect.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions