mirror of https://github.com/acidanthera/audk.git
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
This commit is contained in:
parent
d02bc714cb
commit
979ce27979
|
@ -220,7 +220,6 @@ FIFO_Enqueue (
|
||||||
|
|
||||||
assert(Self != NULL);
|
assert(Self != NULL);
|
||||||
assert(pElement != NULL);
|
assert(pElement != NULL);
|
||||||
assert(Count >= 0);
|
|
||||||
|
|
||||||
if(FIFO_IsFull(Self)) {
|
if(FIFO_IsFull(Self)) {
|
||||||
Count = 0;
|
Count = 0;
|
||||||
|
|
Loading…
Reference in New Issue