From 0aaf184491ddab9bd1ec0efdcf3af433a309a55c Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Mon, 11 Sep 2017 11:11:35 +0100
Subject: [PATCH] Fixed missing debugging #ifdef

---
 src/runner_doiact.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/runner_doiact.h b/src/runner_doiact.h
index 4bb46e3e04..5812b9641d 100644
--- a/src/runner_doiact.h
+++ b/src/runner_doiact.h
@@ -587,7 +587,9 @@ void DOPAIR_SUBSET(struct runner *r, struct cell *restrict ci,
 void DOSELF_SUBSET(struct runner *r, struct cell *restrict ci,
                    struct part *restrict parts, int *restrict ind, int count) {
 
+#ifdef SWIFT_DEBUG_CHECKS
   const struct engine *e = r->e;
+#endif
 
   TIMER_TIC;
 
-- 
GitLab