UINTN GaugeDataSize;\r
UINTN OldGaugeDataSize;\r
GAUGE_DATA_HEADER *OldGaugeData;\r
- EFI_STATUS Status;\r
UINT32 Index;\r
\r
Index = mGaugeData->NumberOfEntries;\r
\r
mGaugeData = AllocateZeroPool (GaugeDataSize);\r
if (mGaugeData == NULL) {\r
- return EFI_OUT_OF_MEMORY;\r
+ return EFI_OUT_OF_RESOURCES;\r
}\r
//\r
// Initialize new data arry and migrate old data one. \r
//\r
// Install the protocol interfaces.\r
//\r
- Handle = NULL;\r
Status = gBS->InstallProtocolInterface (\r
&mHandle,\r
&gPerformanceProtocolGuid,\r