diff options
author | Leif Lindholm <leif.lindholm@oss.qualcomm.com> | 2025-02-12 19:05:20 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-03-19 14:18:12 +0000 |
commit | 22919e560bda6d71ce18ac6c86ef4e7716c0082d (patch) | |
tree | ba7bd31adb82c10ecb4ad4ce6d9cc2c573eb60d7 /ArmVirtPkg/Library/XenArmGenericTimerVirtCounterLib/XenArmGenericTimerVirtCounterLib.c | |
parent | f6aba88ac8af6d4561a2f0f452e13564dde9d029 (diff) | |
download | edk2-22919e560bda6d71ce18ac6c86ef4e7716c0082d.zip edk2-22919e560bda6d71ce18ac6c86ef4e7716c0082d.tar.gz edk2-22919e560bda6d71ce18ac6c86ef4e7716c0082d.tar.bz2 |
MdeModulePkg/VarCheckHiiLib: clean up VarCheckHiiLibReceiveHiiBinHandler
Building VarCheckHiiLib fails on my clang 19.1.6 setup with the error
variable 'Status' is used uninitialized whenever 'if' condition is false
due to the DispatchHandle != NULL test.
Calling this function with a NULL handle makes no sense, so move the test
to the function entry and return failure if appropriate.
Signed-off-by: Leif Lindholm <leif.lindholm@oss.qualcomm.com>
Diffstat (limited to 'ArmVirtPkg/Library/XenArmGenericTimerVirtCounterLib/XenArmGenericTimerVirtCounterLib.c')
0 files changed, 0 insertions, 0 deletions