Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings

This commit is contained in:
Thilo Schulz committed 2011-07-29 12:27:00 +00:00
1 parent 1ea7ab1f42
commit 23f6fd1633
85 files changed
+246 -496

No files matched your search

-8
View File
@@ -827,7 +827,6 @@ or bursted delayed packets.
#define RESET_TIME 500
void CL_AdjustTimeDelta( void ) {
int resetTime;
int newDelta;
int deltaDelta;
@@ -838,13 +837,6 @@ void CL_AdjustTimeDelta( void ) {
return;
}
// if the current time is WAY off, just correct to the current value
if ( com_sv_running->integer ) {
resetTime = 100;
} else {
resetTime = RESET_TIME;
}
newDelta = cl.snap.serverTime - cls.realtime;
deltaDelta = abs( newDelta - cl.serverTimeDelta );