summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Ecc/CodeFragment.py
diff options
context:
space:
mode:
authorTormod Volden <debian.tormod@gmail.com>2024-07-24 14:52:35 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-12-16 21:34:43 +0300
commitf34a945a8024b8cb548168cae3a4a81600620ebb (patch)
treef7d6c875ca782a56c96631641c47c0666afd6b64 /BaseTools/Source/Python/Ecc/CodeFragment.py
parente11a912aa3bd6b3ad69bb90f36f6860de33d846a (diff)
downloadedk2-f34a945a8024b8cb548168cae3a4a81600620ebb.tar.xz
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/Ecc/CodeFragment.py')
0 files changed, 0 insertions, 0 deletions