Re: [PATCH] tools/libbpf: Avoid possibly using uninitialized variable

2018-02-20 Thread Daniel Borkmann
On 02/20/2018 02:00 AM, Jeremy Cline wrote: > Fixes a GCC maybe-uninitialized warning introduced by 48cca7e44f9f. > "text" is only initialized inside the if statement so only print debug > info there. > > Signed-off-by: Jeremy Cline Looks good, applied to bpf tree, thanks

[PATCH] tools/libbpf: Avoid possibly using uninitialized variable

2018-02-19 Thread Jeremy Cline
Fixes a GCC maybe-uninitialized warning introduced by 48cca7e44f9f. "text" is only initialized inside the if statement so only print debug info there. Signed-off-by: Jeremy Cline --- tools/lib/bpf/libbpf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git