]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Remove ASSERT (TotalSize <= sizeof (Buffer));
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 4 Jun 2009 04:30:39 +0000 (04:30 +0000)
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 4 Jun 2009 04:30:39 +0000 (04:30 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8461 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/DebugLib.c

index 40cb1de3a1d21b8683baa85822a88038ccbb17bd..4fa93170ef300cb973317f36d9cb2627bd7e5854 100644 (file)
@@ -75,11 +75,6 @@ DebugPrint (
   //\r
   TotalSize = sizeof (EFI_DEBUG_INFO) + 12 * sizeof (UINT64) + AsciiStrLen (Format) + 1;\r
 \r
-  //\r
-  // If the TotalSize is larger than the maximum record size, then ASSERT()\r
-  //\r
-  ASSERT (TotalSize <= sizeof (Buffer));\r
-\r
   //\r
   // If the TotalSize is larger than the maximum record size, then return\r
   //\r