]> granicus.if.org Git - graphviz/commitdiff
sparse get_mq: squash -Wunused-variable warning in release mode
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 10 Jan 2023 16:01:53 +0000 (08:01 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 14 Jan 2023 17:05:18 +0000 (09:05 -0800)
lib/sparse/mq.c

index e8e394f1fe5eb2df5fda29c7c7e98eeaa25d0fe3..429161dc5696a5613041397a1d90a17a9c73cf7a 100644 (file)
@@ -83,6 +83,7 @@ static double get_mq(SparseMatrix A, int *assignment, int *ncluster0, double *mq
 
 
   assert(SparseMatrix_is_symmetric(A, test_pattern_symmetry_only));
+  (void)test_pattern_symmetry_only;
   assert(A->n == n);
   if (A->type == MATRIX_TYPE_REAL) a = A->a;