17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-28 14:37:29 +01:00

refactor(sonar): initialise members in initialiser lists or declarations (cpp:S3230)

This commit is contained in:
jerrrrycho
2026-10-10 17:03:17 +02:00
parent c2449db91d
commit 29e8a1befc
11 changed files with 35 additions and 92 deletions

View File

@@ -584,22 +584,12 @@ std::vector<std::string> const TTrain::fPress_labels = {
TTrain::TTrain()
{
// McZapkie-240302 - przyda sie do tachometru
ShowNextCurrent = false;
// McZapkie-240302 - przyda sie do tachometru
fTachoVelocity = 0;
fTachoCount = 0;
fPPress = 0;
fNPress = 0;
// asMessage="";
pMechOffset = glm::dvec3(0, 0, 0);
fBlinkTimer = 0;
fHaslerTimer = 0;
//-----
pMechSittingPosition = glm::dvec3(0, 0, 0); // ABu: 180404
fTachoTimer = 0.0; // włączenie skoków wskazań prędkościomierza
// asMessage="";