From cb46887e85418792ebbe4a2753bf032f260c9f5d Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Wed, 11 May 2011 14:21:27 +0000 Subject: Refactoring patch by DevHC --- src/qcommon/vm_powerpc_asm.c | 3 --- src/server/sv_client.c | 2 +- src/server/sv_snapshot.c | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/qcommon/vm_powerpc_asm.c b/src/qcommon/vm_powerpc_asm.c index 58d65a00..19199321 100644 --- a/src/qcommon/vm_powerpc_asm.c +++ b/src/qcommon/vm_powerpc_asm.c @@ -65,7 +65,6 @@ struct powerpc_opcode }; static const struct powerpc_opcode powerpc_opcodes[]; -static const int powerpc_num_opcodes; #define PPC_OPCODE_PPC 1 #define PPC_OPCODE_POWER 2 @@ -112,7 +111,6 @@ struct powerpc_operand }; static const struct powerpc_operand powerpc_operands[]; -static const unsigned int num_powerpc_operands; #define PPC_OPERAND_SIGNED (0x1) #define PPC_OPERAND_SIGNOPT (0x2) @@ -390,7 +388,6 @@ static const struct powerpc_operand powerpc_operands[] = }; -static const unsigned int num_powerpc_operands = ARRAY_LEN (powerpc_operands); /* The functions used to insert and extract complicated operands. */ diff --git a/src/server/sv_client.c b/src/server/sv_client.c index 40212b0c..124c0a74 100644 --- a/src/server/sv_client.c +++ b/src/server/sv_client.c @@ -1304,7 +1304,7 @@ static qboolean SV_ClientCommand( client_t *cl, msg_t *msg ) { // the command, we will stop processing the rest of the packet, // including the usercmd. This causes flooders to lag themselves // but not other people - // We don't do this when the client hasn't been active yet since its + // We don't do this when the client hasn't been active yet since it's // normal to spam a lot of commands when downloading #if 0 // flood protection in game for trem if ( !com_cl_running->integer && diff --git a/src/server/sv_snapshot.c b/src/server/sv_snapshot.c index cfc56958..a7d0f17b 100644 --- a/src/server/sv_snapshot.c +++ b/src/server/sv_snapshot.c @@ -413,7 +413,7 @@ static void SV_AddEntitiesVisibleFromPoint( vec3_t origin, clientSnapshot_t *fra // add it SV_AddEntToSnapshot( svEnt, ent, eNums ); - // if its a portal entity, add everything visible from its camera position + // if it's a portal entity, add everything visible from its camera position if ( ent->r.svFlags & SVF_PORTAL ) { if ( ent->s.generic1 ) { vec3_t dir; -- cgit