Browse Source

engine: server: unused variables cleanup

pull/2/head
Alibek Omarov 7 months ago
parent
commit
0c512d0431
  1. 2
      engine/server/sv_query.c
  2. 2
      engine/server/sv_world.c

2
engine/server/sv_query.c

@ -36,7 +36,7 @@ static void SV_SourceQuery_Details( netadr_t from ) @@ -36,7 +36,7 @@ static void SV_SourceQuery_Details( netadr_t from )
{
sizebuf_t buf;
char answer[2048];
int i, bot_count, client_count;
int bot_count, client_count;
int is_private = 0;
SV_GetPlayerCount( &client_count, &bot_count );

2
engine/server/sv_world.c

@ -1475,7 +1475,6 @@ static qboolean SV_RecursiveLightPoint( model_t *model, mnode_t *node, const vec @@ -1475,7 +1475,6 @@ static qboolean SV_RecursiveLightPoint( model_t *model, mnode_t *node, const vec
float ds, dt, s, t;
int sample_size;
msurface_t *surf;
mtexinfo_t *tex;
mextrasurf_t *info;
color24 *lm;
vec3_t mid;
@ -1510,7 +1509,6 @@ static qboolean SV_RecursiveLightPoint( model_t *model, mnode_t *node, const vec @@ -1510,7 +1509,6 @@ static qboolean SV_RecursiveLightPoint( model_t *model, mnode_t *node, const vec
{
int smax, tmax;
tex = surf->texinfo;
info = surf->info;
if( FBitSet( surf->flags, SURF_DRAWTILED ))

Loading…
Cancel
Save