]> git.xonotic.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)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 27 Feb 2013 13:30:04 +0000 (13:30 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11910 d7cf8633-e32d-0410-b094-e92efae38249

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);