summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
diff options
context:
space:
mode:
authorMingjie Shen <shen497@purdue.edu>2025-11-02 08:52:54 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-12-03 20:41:35 +0300
commit2b47c81fe6f723100ab2fa893a74b429fe8bbe7e (patch)
tree647444896cc8c23f13bf2511f517787949b1d91f /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
parentee0084a071b9836cbea07c469483b5f0c10d6abf (diff)
downloadedk2-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