aboutsummaryrefslogtreecommitdiff
path: root/src/cell_explorer.c
diff options
context:
space:
mode:
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 */