diff options
| author | Josh Law <objecting@objecting.org> | 2026-03-12 21:52:49 +0000 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-03-27 21:19:45 -0700 |
| commit | c9ba82624b684679b37c5062b697c85f932089b9 (patch) | |
| tree | 611d8629fb598ee9bd07fb7c78c7d61f4d7a0af9 /tools/perf/scripts/python | |
| parent | d1db4118489fffd2b2f612140b7acbb477880839 (diff) | |
lib/glob: initialize back_str to silence uninitialized variable warning
back_str is only used when back_pat is non-NULL, and both are always set
together, so it is safe in practice. Initialize back_str to NULL to make
this safety invariant explicit and silence compiler/static analysis
warnings.
Link: https://lkml.kernel.org/r/20260312215249.50165-1-objecting@objecting.org
Signed-off-by: Josh Law <objecting@objecting.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
