edk2/ShellPkg/Library/UefiShellLevel1CommandsLib
Mingjie Shen 2b47c81fe6 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>
2025-12-03 17:41:35 +00:00
..
Exit.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
For.c ShellPkg/For: Remove redundant null/empty checks on ArgSetWalker 2025-12-03 17:41:35 +00:00
Goto.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
If.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
Shift.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
Stall.c ShellPkg: Use the newly introduced ShellPrintHiiDefaultEx() alias 2025-10-01 10:02:57 +02:00
UefiShellLevel1CommandsLib.c ShellPkg: Fix typos 2023-12-08 13:25:11 +00:00
UefiShellLevel1CommandsLib.h ShellPkg: Fix typos 2023-12-08 13:25:11 +00:00
UefiShellLevel1CommandsLib.inf ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
UefiShellLevel1CommandsLib.uni ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00