提交 8ee217af 编写于 作者: V vit9696

OcSerializeLib: Fix potential compiler warning

上级 1f37e994
......@@ -20,6 +20,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#if !defined(MDEPKG_NDEBUG)
STATIC
CONST CHAR8 *
mSchemaTypeNames[] = {
......@@ -42,6 +44,8 @@ GetSchemaTypeName (
return "custom";
}
#endif
OC_SCHEMA *
LookupConfigSchema (
IN OC_SCHEMA *SortedList,
......
......@@ -956,7 +956,7 @@ GuiRedrawAndFlushScreen (
EFI_STATUS
GuiLibConstruct (
IN OC_PICKER_CONTEXT *PickerContet,
IN OC_PICKER_CONTEXT *PickerContext,
IN UINT32 CursorDefaultX,
IN UINT32 CursorDefaultY
)
......@@ -976,7 +976,7 @@ GuiLibConstruct (
CursorDefaultY = MIN (CursorDefaultY, OutputInfo->VerticalResolution - 1);
mPointerContext = GuiPointerConstruct (
PickerContet,
PickerContext,
CursorDefaultX,
CursorDefaultY,
OutputInfo->HorizontalResolution,
......@@ -986,7 +986,7 @@ GuiLibConstruct (
DEBUG ((DEBUG_WARN, "OCUI: Failed to initialise pointer\n"));
}
mKeyContext = GuiKeyConstruct (PickerContet);
mKeyContext = GuiKeyConstruct (PickerContext);
if (mKeyContext == NULL) {
DEBUG ((DEBUG_WARN, "OCUI: Failed to initialise key input\n"));
}
......
......@@ -264,7 +264,7 @@ GuiClearScreen (
EFI_STATUS
GuiLibConstruct (
IN OC_PICKER_CONTEXT *PickerContet,
IN OC_PICKER_CONTEXT *PickerContext,
IN UINT32 CursorDefaultX,
IN UINT32 CursorDefaultY
);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册