src/lib/astro/eclsolar.cpp:175:28: warning: implicit conversion from 'double' to 'int' changes value from 0.01 to 0 [-Wliteral-conversion] if (s < 0.01) eb_cstep = 0.01; $ fgrep eb_cstep `find ../BUILD/marble-4.14.1 -name \*.h -print` ../BUILD/marble-4.14.1/src/lib/astro/eclsolar.h: int eb_cstep; // step width in minutes used for central eclipse output $ Reproducible: Always
Maybe the real intention is eb_cstep = max( 0, floor( s ) ); However a value of 0 seems to be problematic later on, I spot a divison by zero that would follow from that. The good news is that the corresponding method is never called, i.e. a candidate for removal altogether. Would still be nice to clear it up with someone who knows more about the code in question. Torsten, can you chime in, or follow up with Holger?
Ehm, I don't mean Holger, but Gerhard :) Sorry for the bugspam.
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.