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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user