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

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

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jerrrrycho
2026-10-10 16:03:19 +02:00
parent ce786c22ce
commit 9c7043d013
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;