aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2022-04-29 14:38:01 -0700
committerakpm <[email protected]>2022-04-29 14:38:01 -0700
commitd1bd5fa07667fcc3e38996ec42aef98761f23039 (patch)
tree5d9044942369ee104ae52fdd123bca2665929843 /scripts/bpf_doc.py
parentdffad91b06e0a1ee584f008565cbf2bb508a9777 (diff)
lib: remove back_str initialization
Clang static analysis reports this false positive glob.c:48:32: warning: Assigned value is garbage or undefined char const *back_pat = NULL, *back_str = back_str; ^~~~~~~~ ~~~~~~~~ back_str is set after back_pat and it's use is protected by the !back_pat check. It is not necessary to initialize back_str, so remove the initialization. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Tom Rix <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Cc: Nathan Chancellor <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions