From 83b6cff2d632f941389998bdbb95df9bb76bcf9d Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sun, 14 Apr 2013 18:33:26 +0200 Subject: reduce the amount of compiler warnings for variable shadowing --- src/client/cl_parse.c | 1 - src/client/snd_mix.c | 1 - 2 files changed, 2 deletions(-) (limited to 'src/client') diff --git a/src/client/cl_parse.c b/src/client/cl_parse.c index d69af295..e09e7f02 100644 --- a/src/client/cl_parse.c +++ b/src/client/cl_parse.c @@ -780,7 +780,6 @@ void CL_ParseVoip ( msg_t *msg ) { } for (i = 0; i < frames; i++) { - char encoded[256]; const int len = MSG_ReadByte(msg); if (len < 0) { Com_DPrintf("VoIP: Short packet!\n"); diff --git a/src/client/snd_mix.c b/src/client/snd_mix.c index 682e03ce..80c892f5 100644 --- a/src/client/snd_mix.c +++ b/src/client/snd_mix.c @@ -165,7 +165,6 @@ void S_TransferPaintBuffer(int endtime) if ( s_testsound->integer ) { int i; - int count; // write a fixed sine wave count = (endtime - s_paintedtime); -- cgit