[AFV] Ref T739, CPPCheck fixes

This commit is contained in:
Klaus Basan
2019-10-16 21:07:09 +02:00
parent 5efa52cba6
commit 79f8e1b959
3 changed files with 2 additions and 3 deletions

View File

@@ -7,7 +7,6 @@
*/
#include "clientidentification.h"
#include "blackmisc/logmessage.h"
namespace BlackCore

View File

@@ -37,7 +37,7 @@ namespace BlackCore
//! PDU identifier
static QString pdu() { return "$ID"; }
std::uint16_t m_clientId;
std::uint16_t m_clientId = 0;
QString m_clientName;
int m_clientVersionMajor = BlackConfig::CBuildConfig::getVersion().majorVersion();
int m_clientVersionMinor = BlackConfig::CBuildConfig::getVersion().minorVersion();

View File

@@ -45,7 +45,7 @@ namespace chunkware_simple
, mask_(BUFFER_SIZE - 1)
, cur_(0)
{
setAttack(1.0);
setAttackImpl(1.0);
outBuffer_[ 0 ].resize(BUFFER_SIZE, 0.0);
outBuffer_[ 1 ].resize(BUFFER_SIZE, 0.0);
}