aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-08-12 13:42:14 +0200
committerThomas White <taw@physics.org>2014-08-12 13:42:14 +0200
commita23db9bba0144007e6373a28c564908d2029ab01 (patch)
tree9280451371519fb3e76a40ef39184e427eb7a1a0
parent1a18ec0d0a4d6ffe90f5e9e4243fa23b871a6875 (diff)
Clean up a compiler warning when compiling without curses
-rw-r--r--libcrystfel/src/integration.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c
index 5e5ddd98..4d9a1219 100644
--- a/libcrystfel/src/integration.c
+++ b/libcrystfel/src/integration.c
@@ -312,9 +312,9 @@ static void colour_off(enum boxmask_val b)
#endif
+#ifdef HAVE_CURSES_COLOR
static void show_reference_profile(struct intcontext *ic, int i)
{
-#ifdef HAVE_CURSES_COLOR
int q;
printw("Reference profile number %i (%i contributions):\n", i,
@@ -334,8 +334,8 @@ static void show_reference_profile(struct intcontext *ic, int i)
printw("\n");
}
-#endif
}
+#endif
static void show_peak_box(struct intcontext *ic, struct peak_box *bx,