From 979ce27979424eead1196d096c5bc54af3818ecc Mon Sep 17 00:00:00 2001 From: Daryl McDaniel Date: Tue, 10 Sep 2013 21:53:28 +0000 Subject: 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 Reviewed by: erik.c.bjorge@intel.com git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14648 6f19259b-4bc3-4df7-8a09-765794883524 --- StdLib/LibC/Containers/Queues/Fifo.c | 1 - 1 file changed, 1 deletion(-) (limited to 'StdLib/LibC') diff --git a/StdLib/LibC/Containers/Queues/Fifo.c b/StdLib/LibC/Containers/Queues/Fifo.c index 347ac02fd2..996498e1d9 100644 --- a/StdLib/LibC/Containers/Queues/Fifo.c +++ b/StdLib/LibC/Containers/Queues/Fifo.c @@ -220,7 +220,6 @@ FIFO_Enqueue ( assert(Self != NULL); assert(pElement != NULL); - assert(Count >= 0); if(FIFO_IsFull(Self)) { Count = 0; -- cgit v1.2.3