From 2b06923b99588da096061ab3a86139df6292c10d Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 28 Sep 2022 21:32:32 -0700 Subject: [PATCH] sparse SparseMatrix_init: remove dead stores to 'property' `property` is cleared immediately before these lines. --- lib/sparse/SparseMatrix.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/sparse/SparseMatrix.c b/lib/sparse/SparseMatrix.c index bb7b72ce3..f4efd6a0f 100644 --- a/lib/sparse/SparseMatrix.c +++ b/lib/sparse/SparseMatrix.c @@ -310,10 +310,6 @@ static SparseMatrix SparseMatrix_init(int m, int n, int type, size_t sz, int for A->a = NULL; A->format = format; A->property = 0; - clear_flag(A->property, MATRIX_PATTERN_SYMMETRIC); - clear_flag(A->property, MATRIX_SYMMETRIC); - clear_flag(A->property, MATRIX_SKEW); - clear_flag(A->property, MATRIX_HERMITIAN); return A; } -- 2.40.0