summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaryl McDaniel <daryl.mcdaniel@intel.com>2013-09-10 21:53:28 +0000
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>2013-09-10 21:53:28 +0000
commit979ce27979424eead1196d096c5bc54af3818ecc (patch)
tree2e89c62ac63a75bc055df9c50d1f850527adf0eb
parentd02bc714cb9fba3dd0dc8b08cfeb97c6373d0770 (diff)
downloadedk2-platforms-979ce27979424eead1196d096c5bc54af3818ecc.tar.xz
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 <daryl.mcdaniel@intel.com> 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
-rw-r--r--StdLib/LibC/Containers/Queues/Fifo.c1
1 files changed, 0 insertions, 1 deletions
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;