diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-04 04:30:39 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-04 04:30:39 +0000 |
commit | e79a2975adf4a1a6ae8a26db0bf2143b462b9fd9 (patch) | |
tree | 47e049072b047a3b5d97a7fb468daa0104128f46 /IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode | |
parent | 33cf9937a9ccfdae41d266b7fe0abe58d3b1fa6b (diff) | |
download | edk2-platforms-e79a2975adf4a1a6ae8a26db0bf2143b462b9fd9.tar.xz |
Remove ASSERT (TotalSize <= sizeof (Buffer));
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8461 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode')
-rw-r--r-- | IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c b/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c index 40cb1de3a1..4fa93170ef 100644 --- a/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c +++ b/IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c @@ -76,11 +76,6 @@ DebugPrint ( TotalSize = sizeof (EFI_DEBUG_INFO) + 12 * sizeof (UINT64) + AsciiStrLen (Format) + 1;
//
- // If the TotalSize is larger than the maximum record size, then ASSERT()
- //
- ASSERT (TotalSize <= sizeof (Buffer));
-
- //
// If the TotalSize is larger than the maximum record size, then return
//
if (TotalSize > sizeof (Buffer)) {
|