Skip to content

Commit

Permalink
Removed more unused variables.
Browse files Browse the repository at this point in the history
 Partially fixes Bugzilla #3782.
  • Loading branch information
icculus committed Sep 15, 2009
1 parent 8150260 commit d56a093
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 1 addition & 3 deletions code/server/sv_init.c
Expand Up @@ -104,7 +104,7 @@ SV_SetConfigstring
===============
*/
void SV_SetConfigstring (int index, const char *val) {
int len, i;
int i;
client_t *client;

if ( index < 0 || index >= MAX_CONFIGSTRINGS ) {
Expand Down Expand Up @@ -140,8 +140,6 @@ void SV_SetConfigstring (int index, const char *val) {
continue;
}


len = strlen( val );
SV_SendConfigstring(client, index);
}
}
Expand Down
4 changes: 2 additions & 2 deletions code/server/sv_net_chan.c
Expand Up @@ -34,7 +34,7 @@ SV_Netchan_Encode
==============
*/
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;
Expand All @@ -51,7 +51,7 @@ static void SV_Netchan_Encode( client_t *client, msg_t *msg ) {
msg->readcount = 0;
msg->oob = qfalse;

reliableAcknowledge = MSG_ReadLong(msg);
/* reliableAcknowledge = */ MSG_ReadLong(msg);

msg->oob = soob;
msg->bit = sbit;
Expand Down
3 changes: 0 additions & 3 deletions code/server/sv_snapshot.c
Expand Up @@ -298,7 +298,6 @@ static void SV_AddEntitiesVisibleFromPoint( vec3_t origin, clientSnapshot_t *fra
int l;
int clientarea, clientcluster;
int leafnum;
int c_fullsend;
byte *clientpvs;
byte *bitvector;

Expand All @@ -318,8 +317,6 @@ static void SV_AddEntitiesVisibleFromPoint( vec3_t origin, clientSnapshot_t *fra

clientpvs = CM_ClusterPVS (clientcluster);

c_fullsend = 0;

for ( e = 0 ; e < sv.num_entities ; e++ ) {
ent = SV_GentityNum(e);

Expand Down

0 comments on commit d56a093

Please sign in to comment.