From 28cb1dbdd7a743f4ed47a886a6abdd75d3c5b772 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 19 Feb 2013 18:15:12 +0100 Subject: Disable XDS output unless requested --- libcrystfel/src/xds.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/xds.c b/libcrystfel/src/xds.c index 92619d65..ba84b1ec 100644 --- a/libcrystfel/src/xds.c +++ b/libcrystfel/src/xds.c @@ -58,7 +58,7 @@ #include "cell-utils.h" -#define xds_VERBOSE 0 +#define XDS_VERBOSE 0 /* Global private data, prepared once */ @@ -90,7 +90,7 @@ struct xds_data { static void xds_parseline(const char *line, struct image *image, struct xds_data *xds) { - +#if XDS_VERBOSE char *copy; int i; @@ -101,6 +101,7 @@ static void xds_parseline(const char *line, struct image *image, } STATUS("XDS: %s\n", copy); free(copy); +#endif } -- cgit v1.2.3