aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Gevorkov <yaroslav.gevorkov@desy.de>2019-05-07 19:27:26 +0200
committerThomas White <taw@physics.org>2019-05-08 10:27:17 +0200
commit1d3b1bcebf355f1f0fc09e9d2a0dad8fe179ff3d (patch)
treeb6e011a3881ec04dd04e9852d5225d6a1a51048c
parentc908df3b78051f3c4a08d4114d61b5505ae51afc (diff)
Remove unused code
-rw-r--r--libcrystfel/src/xgandalf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libcrystfel/src/xgandalf.c b/libcrystfel/src/xgandalf.c
index 98ef44d0..6a8ba4d5 100644
--- a/libcrystfel/src/xgandalf.c
+++ b/libcrystfel/src/xgandalf.c
@@ -161,11 +161,8 @@ void *xgandalf_prepare(IndexingMethod *indm, UnitCell *cell,
UnitCell* primitiveCell = uncenter_cell(cell, &xgandalf_private_data->centeringTransformation, NULL);
- UnitCell *uc = cell_new_from_cell(primitiveCell);
reduceCell(primitiveCell, &xgandalf_private_data->latticeReductionTransform);
- cell_free(uc);
-
double asx, asy, asz, bsx, bsy, bsz, csx, csy, csz;
int ret = cell_get_reciprocal(primitiveCell, &asx, &asy, &asz,
&bsx, &bsy, &bsz,