diff options
author | Andrii Nakryiko <andriin@fb.com> | 2020-04-30 05:14:36 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-04-30 17:16:01 +0300 |
commit | 063e688133914505ddb396cc33231f22f12e0685 (patch) | |
tree | 7bc89c3a901b2df4c9d93c35c2b526f8a739f033 /tools/testing/selftests/bpf/trace_helpers.c | |
parent | 91f658587a962378a410cc7dc90e122a4ccd7cf3 (diff) | |
download | linux-063e688133914505ddb396cc33231f22f12e0685.tar.xz |
libbpf: Fix false uninitialized variable warning
Some versions of GCC falsely detect that vi might not be initialized. That's
not true, but let's silence it with NULL initialization.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200430021436.1522502-1-andriin@fb.com
Diffstat (limited to 'tools/testing/selftests/bpf/trace_helpers.c')
0 files changed, 0 insertions, 0 deletions