From a23db9bba0144007e6373a28c564908d2029ab01 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 12 Aug 2014 13:42:14 +0200 Subject: Clean up a compiler warning when compiling without curses --- libcrystfel/src/integration.c | 4 ++-- 1 file 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, -- cgit v1.2.3