1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

silenced the uninitialized variable warning

This commit is contained in:
Zeno Rogue 2018-06-13 00:40:36 +02:00
parent c1ef5938fc
commit fbba325587

View File

@ -410,7 +410,7 @@ void buildTorusRug() {
ld factor = sqrt(ld(solution.second.d2()) / solution.first.d2());
ld xfactor, yfactor;
ld xfactor = 0, yfactor = 0;
Xprintf("factor = %lf\n", factor);
if(factor <= 2.05) factor = 2.2;