From afa843522237a1b2224a2f8051c8eae3b76c791d Mon Sep 17 00:00:00 2001
From: "Peter W. Draper" <p.w.draper@durham.ac.uk>
Date: Wed, 27 Nov 2024 15:49:33 +0000
Subject: [PATCH] Correct unreachable code

---
 src/partition.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/partition.c b/src/partition.c
index f29a803684..126e99d15a 100644
--- a/src/partition.c
+++ b/src/partition.c
@@ -2263,9 +2263,9 @@ static int repart_init_fixed_costs(void) {
 
 #include <partition_fixed_costs.h>
   return HAVE_FIXED_COSTS;
-#endif
-
+#else
   return 0;
+#endif
 }
 #endif /* WITH_MPI */
 
-- 
GitLab