From: divverent Date: Wed, 27 Feb 2013 13:30:04 +0000 (+0000) Subject: remove unused variable X-Git-Tag: xonotic-v0.8.0~96^2~129 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8921bdfc8bbb40436f36a7a967ee492cf05a42f2;p=xonotic%2Fdarkplaces.git remove unused variable git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11910 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/clvm_cmds.c b/clvm_cmds.c index f7de708f..ce8c42e7 100644 --- a/clvm_cmds.c +++ b/clvm_cmds.c @@ -174,7 +174,9 @@ static void VM_CL_sound (prvm_prog_t *prog) float volume; float attenuation; float pitchchange; + /* int flags; + */ vec3_t org; VM_SAFEPARMCOUNTRANGE(5, 7, VM_CL_sound); @@ -203,10 +205,12 @@ static void VM_CL_sound (prvm_prog_t *prog) pitchchange = PRVM_G_FLOAT(OFS_PARM5); // ignoring prog->argc < 7 for now (no flags supported yet) + /* if (prog->argc < 7) flags = 0; else flags = PRVM_G_FLOAT(OFS_PARM6); + */ channel = CHAN_USER2ENGINE(channel);