aboutsummaryrefslogtreecommitdiff
path: root/src/moves.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/moves.c')
-rw-r--r--src/moves.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/moves.c b/src/moves.c
index 955e8cf..6ed1b5d 100644
--- a/src/moves.c
+++ b/src/moves.c
@@ -481,7 +481,7 @@ init_moves(void)
481 } 481 }
482 482
483 if (read_mtables_file()) 483 if (read_mtables_file())
484 return; 484 goto init_moves_end;
485 485
486 fprintf(stderr, "Cannot load %s, generating it\n", "mtables"); 486 fprintf(stderr, "Cannot load %s, generating it\n", "mtables");
487 487
@@ -541,6 +541,7 @@ init_moves(void)
541 if (!write_mtables_file()) 541 if (!write_mtables_file())
542 fprintf(stderr, "Error writing mtables\n"); 542 fprintf(stderr, "Error writing mtables\n");
543 543
544init_moves_end:
544 for (i = 0; i < NMOVES; i++) 545 for (i = 0; i < NMOVES; i++)
545 free_alg(equiv_alg[i]); 546 free_alg(equiv_alg[i]);
546} 547}

Generated with cgit - Back to sebastiano.tronto.net