Set the type of return value from function 'LoadVariablesFromFile' in 'DmpStore.c' to match the type of 'ShellStatus'.
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com> Reviewed-by: Ni, Ruiyu <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15102 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -546,7 +546,7 @@ ProcessVariables (
|
|||||||
ZeroMem (&FoundVarGuid, sizeof(EFI_GUID));
|
ZeroMem (&FoundVarGuid, sizeof(EFI_GUID));
|
||||||
|
|
||||||
if (Type == DmpStoreLoad) {
|
if (Type == DmpStoreLoad) {
|
||||||
ShellStatus = LoadVariablesFromFile (FileHandle, Name, Guid, &Found);
|
ShellStatus = (SHELL_STATUS) LoadVariablesFromFile (FileHandle, Name, Guid, &Found);
|
||||||
} else {
|
} else {
|
||||||
ShellStatus = CascadeProcessVariables(Name, Guid, Type, FileHandle, NULL, FoundVarGuid, &Found);
|
ShellStatus = CascadeProcessVariables(Name, Guid, Type, FileHandle, NULL, FoundVarGuid, &Found);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user