diff options
author | Thomas White <taw@physics.org> | 2021-07-21 14:14:33 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-07-21 15:34:33 +0200 |
commit | 49a64e6e63e2da019d7ee1d5900b72693b79818a (patch) | |
tree | e3f2d732184e91dc44bd08b7a967c2dfed48b1d3 /libcrystfel/src | |
parent | ac4198464791af645fc22b23110733f51c0cbc83 (diff) |
do_integral: Remove unnecessary assignments
These local variables were being assigned just before returning.
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/geometry.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libcrystfel/src/geometry.c b/libcrystfel/src/geometry.c index 49acc777..e454b73d 100644 --- a/libcrystfel/src/geometry.c +++ b/libcrystfel/src/geometry.c @@ -670,7 +670,6 @@ static double do_integral(double q2, double zl, double R, if ( kmin < k1 ) { if ( kmax < k1 ) { /* Case 1 */ - kstart = k1; kfinis = k0; return 0.0; } else if ( kmax < k0 ) { /* Case 2 (kmax > k1)*/ @@ -689,7 +688,6 @@ static double do_integral(double q2, double zl, double R, } } else { /* Case 6 (kmin > k1 and (kmax>)kmin > k0) */ - kstart = k1; kfinis = k0; return 0.0; } |