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

refactor(sonar): remove empty statements, one declaration per statement (cpp:S1116, cpp:S1659)

This commit is contained in:
jerrrrycho
2026-10-10 15:03:30 +02:00
parent 3d46090e49
commit c4738dbc87
35 changed files with 315 additions and 180 deletions

View File

@@ -16,7 +16,8 @@ namespace Timer {
subsystem_stopwatches subsystem;
double DeltaTime = 0.0, DeltaRenderTime = 0.0;
double DeltaTime = 0.0;
double DeltaRenderTime = 0.0;
double fFPS{ 0.0f };
double fLastTime{ 0.0f };
DWORD dwFrames{ 0 };
@@ -59,7 +60,9 @@ void ResetTimers()
DeltaRenderTime = 0.0;
}
uint64_t fr, count, oldCount;
uint64_t fr;
uint64_t count;
uint64_t oldCount;
void UpdateTimers(bool pause)
{