diff options
| author | Naveen Kumar Chaudhary <[email protected]> | 2026-07-10 20:52:15 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-07-23 15:16:09 -0600 |
| commit | f7b525a8bc5396b84cf873bdfa5750731de398e9 (patch) | |
| tree | f655f6276c3f82d6871ceda990a6ca0487afc812 /doc/develop/bootstd/script.rst | |
| parent | 0ccd0a939d7d20c5a754a88c52450533932851a1 (diff) | |
cmd: mbr: return false instead of NULL from bool found_key()
found_key() is declared to return bool but returns NULL when strdup()
fails. NULL is a pointer constant; while it happens to convert to
zero (i.e. false) it is a type mismatch that trips stricter
compilers/static analysers.
Return false to match the declared return type.
Signed-off-by: Naveen Kumar Chaudhary <[email protected]>
Diffstat (limited to 'doc/develop/bootstd/script.rst')
0 files changed, 0 insertions, 0 deletions
