mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
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> |
||
|---|---|---|
| .. | ||
| Exit.c | ||
| For.c | ||
| Goto.c | ||
| If.c | ||
| Shift.c | ||
| Stall.c | ||
| UefiShellLevel1CommandsLib.c | ||
| UefiShellLevel1CommandsLib.h | ||
| UefiShellLevel1CommandsLib.inf | ||
| UefiShellLevel1CommandsLib.uni | ||