aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-07-26 16:54:56 -0700
committerThomas White <taw@bitwiz.org.uk>2012-07-26 16:54:56 -0700
commite110f9fc347596e9ab0487fb7e1b20338205fea6 (patch)
tree7891306e22e31dc430b1e94f88fe0e51892bb9b3
parent9af8748c18765e10b05a00a82d2d6d12967f699d (diff)
Suppress a couple of warnings
Since these will probably be around for a while...
-rw-r--r--libcrystfel/src/reax.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/libcrystfel/src/reax.c b/libcrystfel/src/reax.c
index 3124a77c..259ec199 100644
--- a/libcrystfel/src/reax.c
+++ b/libcrystfel/src/reax.c
@@ -439,7 +439,7 @@ static void squash_vectors(struct reax_search *s, double tol)
}
-static void show_vectors(struct reax_search *s, const char *pre)
+static UNUSED void show_vectors(struct reax_search *s, const char *pre)
{
int i;
@@ -709,12 +709,13 @@ static void refine_rigid_group(struct image *image, UnitCell *cell,
}
-static void refine_all_rigid_groups(struct image *image, UnitCell *cell,
- double pmax,
- double *fft_in, fftw_complex *fft_out,
- fftw_plan plan, int smin, int smax,
- struct detector *det,
- struct reax_private *p)
+static UNUSED void refine_all_rigid_groups(struct image *image, UnitCell *cell,
+ double pmax,
+ double *fft_in,
+ fftw_complex *fft_out,
+ fftw_plan plan, int smin, int smax,
+ struct detector *det,
+ struct reax_private *p)
{
int i;