mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
[AFV] Ref T739, CPPCheck fixes
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
*/
|
||||
|
||||
#include "clientidentification.h"
|
||||
|
||||
#include "blackmisc/logmessage.h"
|
||||
|
||||
namespace BlackCore
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user