Revision: 14648
          http://sourceforge.net/p/edk2/code/14648
Author:   darylm503
Date:     2013-09-10 21:53:28 +0000 (Tue, 10 Sep 2013)
Log Message:
-----------
StdLib: Fix IA32 and X64 build issues.

Building with the Intel Compiler V11 produces the following error:
StdLib\LibC\Containers\Queues\Fifo.c(223): error #186: pointless comparison of 
unsigned integer with zero
    assert(Count >= 0);

Deleted the assert.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <[email protected]>
Reviewed by: [email protected]

Modified Paths:
--------------
    trunk/edk2/StdLib/LibC/Containers/Queues/Fifo.c

Modified: trunk/edk2/StdLib/LibC/Containers/Queues/Fifo.c
===================================================================
--- trunk/edk2/StdLib/LibC/Containers/Queues/Fifo.c     2013-09-10 21:47:26 UTC 
(rev 14647)
+++ trunk/edk2/StdLib/LibC/Containers/Queues/Fifo.c     2013-09-10 21:53:28 UTC 
(rev 14648)
@@ -220,7 +220,6 @@
 
   assert(Self != NULL);
   assert(pElement != NULL);
-  assert(Count >= 0);
 
   if(FIFO_IsFull(Self)) {
     Count = 0;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to