QUICK CLUSTER: Avoid "unused parameter" warning.
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 21 Oct 2015 15:04:33 +0000 (08:04 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 21 Oct 2015 15:04:33 +0000 (08:04 -0700)
src/language/stats/quick-cluster.c

index 56c95c3fbd4ce95e913359f196f626ce87e00f55..52af3c394b23d7ae2559bb87617b06e44ef6bbc0 100644 (file)
@@ -156,7 +156,7 @@ kmeans_destroy (struct Kmeans *kmeans)
 
 /* Creates random centers using randomly selected cases from the data. */
 static void
-kmeans_randomize_centers (struct Kmeans *kmeans, const struct casereader *reader, const struct qc *qc)
+kmeans_randomize_centers (struct Kmeans *kmeans, const struct casereader *reader UNUSED, const struct qc *qc)
 {
   int i, j;
   for (i = 0; i < qc->ngroups; i++)