aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-05-28 15:23:45 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-05-28 15:23:45 +0200
commit2e122bdffbe7524f5ed6f7cb704bbd1b778a6b41 (patch)
treec0fa60c367aaf23066fee22bdb45a29fb4efc4f7
parentb1770039f4d483cdab2d4d136cd7ffbf12f165b7 (diff)
downloadnissy-core-2e122bdffbe7524f5ed6f7cb704bbd1b778a6b41.tar.gz
nissy-core-2e122bdffbe7524f5ed6f7cb704bbd1b778a6b41.zip
Fix small build error with clang
-rw-r--r--src/solvers/h48/gendata_h48.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/solvers/h48/gendata_h48.h b/src/solvers/h48/gendata_h48.h
index 4e5daee..a7d8408 100644
--- a/src/solvers/h48/gendata_h48.h
+++ b/src/solvers/h48/gendata_h48.h
@@ -423,7 +423,8 @@ gendata_h48k2(gendata_h48_arg_t arg[static 1])
423 arg->base = base[arg->h]; 423 arg->base = base[arg->h];
424 arg->info = makeinfo_h48k2(arg); 424 arg->info = makeinfo_h48k2(arg);
425 425
426 inext = count = 0; 426 inext = 0;
427 count = 0;
427 pthread_mutex_init(&shortcubes_mutex, NULL); 428 pthread_mutex_init(&shortcubes_mutex, NULL);
428 for (i = 0; i < CHUNKS; i++) 429 for (i = 0; i < CHUNKS; i++)
429 pthread_mutex_init(&table_mutex[i], NULL); 430 pthread_mutex_init(&table_mutex[i], NULL);

Generated with cgit - Back to sebastiano.tronto.net