summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2013-04-14 18:33:26 +0200
committerTim Angus <tim@ngus.net>2013-05-31 23:10:57 +0100
commit83b6cff2d632f941389998bdbb95df9bb76bcf9d (patch)
treeaf7f2f0c0940c0be15d7795a2ab23bc21295e967 /src/client
parent89fe33daec9bde09702c12dca1391a801b6265a3 (diff)
reduce the amount of compiler warnings for variable shadowing
Diffstat (limited to 'src/client')
-rw-r--r--src/client/cl_parse.c1
-rw-r--r--src/client/snd_mix.c1
2 files changed, 0 insertions, 2 deletions
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);