Skip to content
Commit b1a2ce82 authored by Jeremy Cline's avatar Jeremy Cline Committed by Daniel Borkmann
Browse files

tools/libbpf: Avoid possibly using uninitialized variable

Fixes a GCC maybe-uninitialized warning introduced by 48cca7e4.
"text" is only initialized inside the if statement so only print debug
info there.

Fixes: 48cca7e4

 ("libbpf: add support for bpf_call")
Signed-off-by: default avatarJeremy Cline <jeremy@jcline.org>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 9c2d63b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment