diff options
author | Thomas White <taw@physics.org> | 2013-02-19 18:15:12 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-02-19 18:15:12 +0100 |
commit | 28cb1dbdd7a743f4ed47a886a6abdd75d3c5b772 (patch) | |
tree | 763312742f97b399ec168ab685c8c7a41fb12e5c /libcrystfel/src/xds.c | |
parent | 5fbf0a6ff8031a82ba7517044b5828106bb85f3c (diff) |
Disable XDS output unless requested
Diffstat (limited to 'libcrystfel/src/xds.c')
-rw-r--r-- | libcrystfel/src/xds.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 } |