fixed uninitialized variable

This commit is contained in:
Zeno Rogue 2019-10-12 14:42:57 +02:00
parent 6a94eef6aa
commit 58c1c04697
1 changed files with 1 additions and 1 deletions

View File

@ -617,7 +617,7 @@ array<array<int,2>, MAX_EDGE> distlimit_table = {{
EX color_t colorize(cell *c, char whichCanvas) {
auto m = crystal_map();
ldcoord co = ldc0;
int dim;
int dim = 3;
if(cryst) co = m->get_coord(c), dim = m->cs.dim;
#if MAXMDIM >= 4
else if(geometry == gSpace344) {