Closed lukefromdc closed 6 years ago
Apparently running calc_sun_time sets a result elsewhere that shows up when test_sun_moon is run
This function calls another one which modifies contents of info
(see calc_sun2
function in weather-sun.c
), so it's needed here, while its return value isn't used afterwards.
Fix warning
Run the calc_sun_time(&info, info.update) function but don't load the result into a variable that is never used. Apparently running calc_sun_time sets a result elsewhere that shows up when test_sun_moon is run