mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
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> |
||
|---|---|---|
| .. | ||
| InternalVarCheckStructure.h | ||
| VarCheckHii.h | ||
| VarCheckHiiGen.c | ||
| VarCheckHiiGen.h | ||
| VarCheckHiiGenFromFv.c | ||
| VarCheckHiiGenFromHii.c | ||
| VarCheckHiiLib.c | ||
| VarCheckHiiLib.inf | ||
| VarCheckHiiLib.uni | ||
| VarCheckHiiLibCommon.c | ||
| VarCheckHiiLibCommon.h | ||
| VarCheckHiiLibMmDependency.c | ||
| VarCheckHiiLibMmDependency.inf | ||
| VarCheckHiiLibStandaloneMm.c | ||
| VarCheckHiiLibStandaloneMm.inf | ||
| VarCheckHiiLibStandaloneMm.uni | ||