17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-17 08:39:19 +02:00

refactor(sonar): remove unused variables, captures and private fields (cpp:S1481, cpp:S1068)

This commit is contained in:
jerrrrycho
2026-10-10 16:03:19 +02:00
parent d28695f073
commit 71b338f30e
7 changed files with 2 additions and 19 deletions

View File

@@ -263,7 +263,6 @@ void cMoon::refract() {
void cMoon::irradiance() {
static double radtodeg = 57.295779513; // converts from radians to degrees
static double degtorad = 0.0174532925; // converts from degrees to radians
m_body.dayang = ( simulation::Time.year_day() - 1 ) * 360.0 / 365.0;