diff options
author | Thomas White <taw@physics.org> | 2021-07-21 13:26:37 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-07-21 15:34:33 +0200 |
commit | 7e5536832b22036a634a74e16073b4762a416e29 (patch) | |
tree | 25799eb139d235f524a80c53fb25d0c9f64eb6f1 /src/get_hkl.c | |
parent | 760f17f56b7f79f67a9029cbe7cc55a0acccd3b9 (diff) |
Reduce variable scope where possible
Diffstat (limited to 'src/get_hkl.c')
-rw-r--r-- | src/get_hkl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c index 4dd9e3fd..b6895f37 100644 --- a/src/get_hkl.c +++ b/src/get_hkl.c @@ -232,7 +232,6 @@ static RefList *twin_reflections(RefList *in, int need_all_parts, signed int he, ke, le; signed int hu, ku, lu; - Reflection *part; int r; get_equiv(holo, m, j, h, k, l, &he, &ke, &le); @@ -262,6 +261,7 @@ static RefList *twin_reflections(RefList *in, int need_all_parts, double i, sigi; int mult; + Reflection *part; part = find_refl(in, hu, ku, lu); |