summaryrefslogtreecommitdiffstats
path: root/src/ruleset.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2017-12-14 20:40:22 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-12-15 16:22:46 +0100
commit8f228f6842494ea7f83ff9aaa19ec32681628c9f (patch)
tree4ad978e83f9c24f6a7ca3c7f7495e1229bfd29b8 /src/ruleset.c
parentfd9ab5c922cd8d15e8f0251c70bcd9532158e9b0 (diff)
object: Avoid returning garbage in nftnl_obj_do_parse()
It may happen that 'perr' variable does not get initialized, so making parameter 'err' point to it in any case is error-prone. Avoid this by initializing 'perr' upon declaration. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/ruleset.c')
0 files changed, 0 insertions, 0 deletions