aboutsummaryrefslogtreecommitdiff
path: root/src/cell_explorer.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-07-21 11:39:27 +0200
committerThomas White <taw@physics.org>2017-07-21 11:39:27 +0200
commit1585396d6bbe3375d21b2906251ee6762a6fcca4 (patch)
treeb009efdce0f787d63a262619870037710f3256e6 /src/cell_explorer.c
parentc47b072d15a1e4828e052910bbdab8c7c4bd88de (diff)
Tidy up some warnings
Diffstat (limited to 'src/cell_explorer.c')
-rw-r--r--src/cell_explorer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cell_explorer.c b/src/cell_explorer.c
index f6c2c590..f13a2e8b 100644
--- a/src/cell_explorer.c
+++ b/src/cell_explorer.c
@@ -1045,7 +1045,8 @@ static int guess_centering(HistoBox *b, UnitCell *cell)
long int tots[8];
long int max = 0;
long int total = 0;
- int i, j, mxj;
+ int i, j;
+ int mxj = 99;
/* Since the six histograms (a,b,c,al,be,ga) come from the same cells,
* we only need to look at one of them */