diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-09-25 11:30:38 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-09-25 22:15:02 +0200 |
commit | aef70a1f44c0b570e6345c02c2d240471859f0a4 (patch) | |
tree | 30221a00cbb30caeb52a16c339e9f3bbb1d445b1 /tools/testing/selftests/bpf/test_sysctl.c | |
parent | bpf/xskmap: Return ERR_PTR for failure case instead of NULL. (diff) | |
download | linux-dev-aef70a1f44c0b570e6345c02c2d240471859f0a4.tar.xz linux-dev-aef70a1f44c0b570e6345c02c2d240471859f0a4.zip |
libbpf: fix false uninitialized variable warning
Some compilers emit warning for potential uninitialized next_id usage.
The code is correct, but control flow is too complicated for some
compilers to figure this out. Re-initialize next_id to satisfy
compiler.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions