diff options
author | Olivier Martin <olivier.martin@arm.com> | 2014-10-31 20:32:02 +0000 |
---|---|---|
committer | darylm503 <darylm503@Edk2> | 2014-10-31 20:32:02 +0000 |
commit | b81cc7d6249671a2c1e36f6c8ac01da0e0b7c612 (patch) | |
tree | 8d4685b7d6bfb386ce6158875c68850eeee1788f /StdLib/EfiSocketLib | |
parent | fe7ad7f6af29af4f4e0a690c11df49922ca93940 (diff) | |
download | edk2-b81cc7d6249671a2c1e36f6c8ac01da0e0b7c612.tar.gz edk2-b81cc7d6249671a2c1e36f6c8ac01da0e0b7c612.tar.bz2 edk2-b81cc7d6249671a2c1e36f6c8ac01da0e0b7c612.zip |
StdLib: Fix more GCC warnings/errors caused by variables being set but not used.
Removed variables that had no effect on code behavior.
Normalized comment formatting.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed by: Daryl McDaniel <daryl.mcdaniel@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16286 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/EfiSocketLib')
-rw-r--r-- | StdLib/EfiSocketLib/Socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/StdLib/EfiSocketLib/Socket.c b/StdLib/EfiSocketLib/Socket.c index 96a20c331e..d782b435e6 100644 --- a/StdLib/EfiSocketLib/Socket.c +++ b/StdLib/EfiSocketLib/Socket.c @@ -4006,6 +4006,7 @@ EslSocketPortCloseComplete ( // Determine if the receive operation is pending
Status = EslSocketPortCloseRxDone ( pPort );
DBG_EXIT_STATUS ( Status );
+ --Status;
}
|