From eac7e51761bf5155dd6b8542cf34691a4e2455e7 Mon Sep 17 00:00:00 2001 From: tbeu Date: Tue, 11 Jun 2024 21:30:20 +0200 Subject: [PATCH] Fix issue reported by cppcheck [skip travis] --- test/test_mat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_mat.c b/test/test_mat.c index f9d4ef1f..38ed0625 100644 --- a/test/test_mat.c +++ b/test/test_mat.c @@ -2673,7 +2673,7 @@ static int test_cell_api_set() { size_t dims[2]; - double data[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; + const double data[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; matvar_t *cells[10], *matvar, *prev_cell; dims[0] = 2;