aboutsummaryrefslogtreecommitdiff
path: root/src/cube.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cube.c')
-rw-r--r--src/cube.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cube.c b/src/cube.c
index 5babe28..b9653ce 100644
--- a/src/cube.c
+++ b/src/cube.c
@@ -526,11 +526,12 @@ what_center_at(Cube cube, Center c)
526Corner 526Corner
527what_corner_at(Cube cube, Corner c) 527what_corner_at(Cube cube, Corner c)
528{ 528{
529 int i;
530 unsigned int ui;
531 CubeArray *arr;
532
529 static bool initialized = false; 533 static bool initialized = false;
530 static Corner aux[FACTORIAL8][8]; 534 static Corner aux[FACTORIAL8][8];
531 static int i;
532 static unsigned int ui;
533 static CubeArray *arr;
534 535
535 if (!initialized) { 536 if (!initialized) {
536 for (ui = 0; ui < FACTORIAL8; ui++) { 537 for (ui = 0; ui < FACTORIAL8; ui++) {

Generated with cgit - Back to sebastiano.tronto.net