diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-03-01 00:28:34 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-03-01 00:28:34 +0000 |
commit | 9c1ca96e425300c5087cceb9ca5261ecc58bc9ac (patch) | |
tree | 4c6ff07ea0ef5e3a45a63aa5dbafadaa1a4553a5 | |
parent | 96a65fc85a3b7ebe6bd981db3c92f425cb6b9c46 (diff) | |
download | edk2-platforms-9c1ca96e425300c5087cceb9ca5261ecc58bc9ac.tar.xz |
MdeModulePkg DxeNetLib: Fix compiler warning
This compiler warning was triggered by setting MDEPKG_NDEBUG.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10126 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdeModulePkg/Library/DxeNetLib/NetBuffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/DxeNetLib/NetBuffer.c b/MdeModulePkg/Library/DxeNetLib/NetBuffer.c index b56d62c8fb..76b6510659 100644 --- a/MdeModulePkg/Library/DxeNetLib/NetBuffer.c +++ b/MdeModulePkg/Library/DxeNetLib/NetBuffer.c @@ -1050,6 +1050,8 @@ NetbufAllocSpace ( UINT32 Index;
UINT8 *SavedTail;
+ Index = 0;
+
NET_CHECK_SIGNATURE (Nbuf, NET_BUF_SIGNATURE);
NET_CHECK_SIGNATURE (Nbuf->Vector, NET_VECTOR_SIGNATURE);
|