diff options
author | Florian Westphal <[email protected]> | 2021-11-26 13:04:03 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2021-11-30 23:15:11 +0100 |
commit | b43c2793f5e9910862e8fe07846b74e45b104501 (patch) | |
tree | 97b974afa3b90c18c128299fa3ac1c651d699435 /scripts/clang-tools/gen_compile_commands.py | |
parent | 34d8778a943761121f391b7921f79a7adbe1feaf (diff) |
netfilter: nfnetlink_queue: silence bogus compiler warning
net/netfilter/nfnetlink_queue.c:601:36: warning: variable 'ctinfo' is
uninitialized when used here [-Wuninitialized]
if (ct && nfnl_ct->build(skb, ct, ctinfo, NFQA_CT, NFQA_CT_INFO) < 0)
ctinfo is only uninitialized if ct == NULL. Init it to 0 to silence this.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions