From 70241915aa8f968cf7b42b9aa73638b3340edc42 Mon Sep 17 00:00:00 2001 From: Francois Coppens Date: Wed, 25 Jan 2023 19:16:46 +0100 Subject: [PATCH] Throw away some return values that cause 'variable not used' warnings. --- org/qmckl_sherman_morrison_woodbury.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/org/qmckl_sherman_morrison_woodbury.org b/org/qmckl_sherman_morrison_woodbury.org index 938bee1..3a8e882 100644 --- a/org/qmckl_sherman_morrison_woodbury.org +++ b/org/qmckl_sherman_morrison_woodbury.org @@ -1006,12 +1006,12 @@ qmckl_exit_code qmckl_sherman_morrison_splitting(const qmckl_context context, uint64_t later_index[N_updates]; uint64_t later = 0; - qmckl_exit_code rc = qmckl_slagel_splitting( + (void) qmckl_slagel_splitting( LDS, Dim, N_updates, Updates, Updates_index, breakdown, Slater_inv, later_updates, later_index, &later, determinant); if (later > 0) { - qmckl_exit_code rc = qmckl_sherman_morrison_splitting( + (void) qmckl_sherman_morrison_splitting( context, LDS, Dim, later, later_updates, later_index, breakdown, Slater_inv, determinant); } @@ -1251,7 +1251,7 @@ qmckl_exit_code qmckl_sherman_morrison_smw32s(const qmckl_context context, const double* Updates_1block = &Updates[n_of_3blocks * length_3block]; const uint64_t* Updates_index_1block = &Updates_index[3 * n_of_3blocks]; uint64_t l = 0; - qmckl_exit_code rc = qmckl_slagel_splitting( + (void) qmckl_slagel_splitting( LDS, Dim, 1, Updates_1block, Updates_index_1block, breakdown, Slater_inv, later_updates + (LDS * later), later_index + later, &l, determinant); @@ -1259,7 +1259,7 @@ qmckl_exit_code qmckl_sherman_morrison_smw32s(const qmckl_context context, } if (later > 0) { - qmckl_exit_code rc = qmckl_sherman_morrison_splitting( + (void) qmckl_sherman_morrison_splitting( context, LDS, Dim, later, later_updates, later_index, breakdown, Slater_inv, determinant); }