From b1613ef65246cc89a1e40e35c6e07080c56ea00b Mon Sep 17 00:00:00 2001 From: ludwig Date: Mon, 10 Nov 2008 09:47:14 +0000 Subject: fix variable declaration (#3849) git-svn-id: svn://svn.icculus.org/quake3/trunk@1486 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/cl_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/client/cl_input.c b/code/client/cl_input.c index f1a0376..72056a2 100644 --- a/code/client/cl_input.c +++ b/code/client/cl_input.c @@ -781,8 +781,8 @@ void CL_WritePacket( void ) { } else if (Q_stricmp(target, "none") == 0) { clc.voipTarget1 = clc.voipTarget2 = clc.voipTarget3 = 0; } else { - clc.voipTarget1 = clc.voipTarget2 = clc.voipTarget3 = 0; const char *ptr = target; + clc.voipTarget1 = clc.voipTarget2 = clc.voipTarget3 = 0; do { if ((*ptr == ',') || (*ptr == '\0')) { const int val = atoi(target); -- cgit v1.2.3