]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rmain.c
fix some warnings about useless code (unsigned < 0, x = x)
[xonotic/darkplaces.git] / gl_rmain.c
index 8574aeb2db3c3dc43ed43ee2915348e17d72a800..2c5eb11caa4c868a3b5dfc07dd181309c4c71f46 100644 (file)
@@ -7490,7 +7490,9 @@ static float R_EvaluateQ3WaveFunc(q3wavefunc_t func, const float *parms)
                index *= 4;
                f = index - floor(index);
                if (index < 1)
-                       f = f;
+               {
+                       // f = f;
+               }
                else if (index < 2)
                        f = 1 - f;
                else if (index < 3)