]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
remove unused variable
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 27 Feb 2013 13:30:04 +0000 (13:30 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 21 Mar 2013 16:10:18 +0000 (17:10 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11910 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=8921bdfc8bbb40436f36a7a967ee492cf05a42f2

clvm_cmds.c

index f7de708f53b735f68354448446e5913f017f5be2..ce8c42e74468eb17be296c9562d718ed219ac7d0 100644 (file)
@@ -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);