]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - curves.c
fix clang warnings for unused result of *_LockThreadMutex
[xonotic/darkplaces.git] / curves.c
index 17d1b9424d0c24c97f2610f180190875d9e2b3f2..cf7569dba482a202a641553ed5a31fa59dc220c0 100644 (file)
--- a/curves.c
+++ b/curves.c
@@ -156,7 +156,7 @@ static int Q3PatchTesselation(float largestsquared3xcurvearea, float tolerance)
                // maps [4..8[ to 4
 }
 
-float Squared3xCurveArea(const float *a, const float *control, const float *b, int components)
+static float Squared3xCurveArea(const float *a, const float *control, const float *b, int components)
 {
 #if 0
        // mimicing the old behaviour with the new code...