summaryrefslogtreecommitdiff
path: root/DuetPkg/DataHubGenDxe
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-04-29 08:05:00 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-04-29 08:05:00 +0000
commit21946ba86b74886c168c2cbaddb13226747ace13 (patch)
treeb167256de0a9eb3a288351a9b0947e835644e60f /DuetPkg/DataHubGenDxe
parent52fa075c38bf9b0ef171458f156575fe62acf3a4 (diff)
downloadedk2-platforms-21946ba86b74886c168c2cbaddb13226747ace13.tar.xz
fix ICC build warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8203 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/DataHubGenDxe')
-rw-r--r--DuetPkg/DataHubGenDxe/DataHubGen.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/DuetPkg/DataHubGenDxe/DataHubGen.c b/DuetPkg/DataHubGenDxe/DataHubGen.c
index 937425fb8f..5e723fb1aa 100644
--- a/DuetPkg/DataHubGenDxe/DataHubGen.c
+++ b/DuetPkg/DataHubGenDxe/DataHubGen.c
@@ -96,6 +96,7 @@ InstallProcessorDataHub (
&DataRecord,
sizeof (DataRecord.DataRecordHeader) + sizeof (DataRecord.VariableRecord.ProcessorCoreFrequency)
);
+ ASSERT_EFI_ERROR (Status);
//
// Record Type 3
//
@@ -122,7 +123,7 @@ InstallProcessorDataHub (
&DataRecord,
sizeof (DataRecord.DataRecordHeader) + sizeof (DataRecord.VariableRecord.ProcessorVersion)
);
-
+ ASSERT_EFI_ERROR (Status);
return ;
}
@@ -260,6 +261,7 @@ InstallMiscDataHub (
&DataRecord,
sizeof (DataRecord.Header) + sizeof (DataRecord.Record.MiscBiosVendor)
);
+ ASSERT_EFI_ERROR (Status);
//
// System information (TYPE 1)
@@ -304,6 +306,7 @@ InstallMiscDataHub (
&DataRecord,
sizeof (DataRecord.Header) + sizeof (DataRecord.Record.MiscSystemManufacturer)
);
+ ASSERT_EFI_ERROR (Status);
return ;
}