summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2024-07-24 13:52:35 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-12-16 18:34:43 +0000
commitf34a945a8024b8cb548168cae3a4a81600620ebb (patch)
treef7d6c875ca782a56c96631641c47c0666afd6b64 /BaseTools/Source/Python/Common
parente11a912aa3bd6b3ad69bb90f36f6860de33d846a (diff)
downloadedk2-f34a945a8024b8cb548168cae3a4a81600620ebb.zip
edk2-f34a945a8024b8cb548168cae3a4a81600620ebb.tar.gz
edk2-f34a945a8024b8cb548168cae3a4a81600620ebb.tar.bz2
ShellPkg/UefiShellLib: Simplify check for empty string
StrSize() uses StrLen() which counts until the terminating NULL character. For checking for an empty string it is more efficient to directly check for the NULL terminator instead of calling StrSize(). Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Diffstat (limited to 'BaseTools/Source/Python/Common')
0 files changed, 0 insertions, 0 deletions