[quake3-commits] r1612 - trunk/code/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Sep 14 23:19:43 EDT 2009
Author: icculus
Date: 2009-09-14 23:19:43 -0400 (Mon, 14 Sep 2009)
New Revision: 1612
Modified:
trunk/code/server/sv_init.c
trunk/code/server/sv_net_chan.c
trunk/code/server/sv_snapshot.c
Log:
Removed more unused variables.
Partially fixes Bugzilla #3782.
Modified: trunk/code/server/sv_init.c
===================================================================
--- trunk/code/server/sv_init.c 2009-09-15 02:58:38 UTC (rev 1611)
+++ trunk/code/server/sv_init.c 2009-09-15 03:19:43 UTC (rev 1612)
@@ -104,7 +104,7 @@
===============
*/
void SV_SetConfigstring (int index, const char *val) {
- int len, i;
+ int i;
client_t *client;
if ( index < 0 || index >= MAX_CONFIGSTRINGS ) {
@@ -140,8 +140,6 @@
continue;
}
-
- len = strlen( val );
SV_SendConfigstring(client, index);
}
}
Modified: trunk/code/server/sv_net_chan.c
===================================================================
--- trunk/code/server/sv_net_chan.c 2009-09-15 02:58:38 UTC (rev 1611)
+++ trunk/code/server/sv_net_chan.c 2009-09-15 03:19:43 UTC (rev 1612)
@@ -34,7 +34,7 @@
==============
*/
static void SV_Netchan_Encode( client_t *client, msg_t *msg ) {
- long reliableAcknowledge, i, index;
+ long i, index;
byte key, *string;
int srdc, sbit;
qboolean soob;
@@ -51,7 +51,7 @@
msg->readcount = 0;
msg->oob = qfalse;
- reliableAcknowledge = MSG_ReadLong(msg);
+ /* reliableAcknowledge = */ MSG_ReadLong(msg);
msg->oob = soob;
msg->bit = sbit;
Modified: trunk/code/server/sv_snapshot.c
===================================================================
--- trunk/code/server/sv_snapshot.c 2009-09-15 02:58:38 UTC (rev 1611)
+++ trunk/code/server/sv_snapshot.c 2009-09-15 03:19:43 UTC (rev 1612)
@@ -298,7 +298,6 @@
int l;
int clientarea, clientcluster;
int leafnum;
- int c_fullsend;
byte *clientpvs;
byte *bitvector;
@@ -318,8 +317,6 @@
clientpvs = CM_ClusterPVS (clientcluster);
- c_fullsend = 0;
-
for ( e = 0 ; e < sv.num_entities ; e++ ) {
ent = SV_GentityNum(e);
More information about the quake3-commits
mailing list