diff options
| author | Mingjie Shen <shen497@purdue.edu> | 2025-11-02 08:52:54 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-12-03 20:41:35 +0300 |
| commit | 2b47c81fe6f723100ab2fa893a74b429fe8bbe7e (patch) | |
| tree | 647444896cc8c23f13bf2511f517787949b1d91f /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h | |
| parent | ee0084a071b9836cbea07c469483b5f0c10d6abf (diff) | |
| download | edk2-2b47c81fe6f723100ab2fa893a74b429fe8bbe7e.tar.xz | |
ShellPkg/For: Remove redundant null/empty checks on ArgSetWalker
Fix CodeQL cpp/redundant-null-check-simple warning in
ShellPkg/Library/UefiShellLevel1CommandsLib/For.c at line 571 by
removing redundant null and empty-string checks on ArgSetWalker. The
outer guard at line 570 ensures that ArgSetWalker is non-NULL and
non-empty, so the inner condition only needs
ShellIsValidForNumber(ArgSetWalker).
Signed-off-by: Mingjie Shen <shen497@purdue.edu>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions
