commit | aef70a1f44c0b570e6345c02c2d240471859f0a4 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Wed Sep 25 11:30:38 2019 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Sep 25 22:15:02 2019 +0200 |
tree | 30221a00cbb30caeb52a16c339e9f3bbb1d445b1 | |
parent | fcd30ae0665c778e283f73c1c885c7fd26d12ef2 [diff] |
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>