diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-09-25 11:30:38 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-11 18:36:47 +0200 |
commit | a36780616274b1ef0bfb0095e5a9af38f9fee8d6 (patch) | |
tree | 91500e67d92956aa949fa1bc43ef8c8c70975227 /net/lapb/lapb_timer.c | |
parent | ae0550c225d0919b47d5a19aa579df4b74cb73a5 (diff) |
libbpf: fix false uninitialized variable warning
[ Upstream commit aef70a1f44c0b570e6345c02c2d240471859f0a4 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions