Shut up compiler warning

This commit is contained in:
Cubitect 2021-11-28 13:18:17 +01:00
parent 18a16f8000
commit 9d0b692d1f
2 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ int check(uint64_t s48, void *data)
int main() int main()
{ {
int styp = Swamp_Hut; int styp = Swamp_Hut;
int mc = MC_1_17; int mc = MC_1_18;
uint64_t basecnt = 0; uint64_t basecnt = 0;
uint64_t *bases = NULL; uint64_t *bases = NULL;
int threads = 8; int threads = 8;

View File

@ -1429,7 +1429,7 @@ Pos getSpawn(const Generator *g)
int found; int found;
int i; int i;
uint64_t rnd; uint64_t rnd = 0;
if (g->mc <= MC_1_17) if (g->mc <= MC_1_17)
{ {
setSeed(&rnd, g->seed); setSeed(&rnd, g->seed);