mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
fixed compiler warnings detected by jenkins build server
This commit is contained in:
@@ -67,6 +67,7 @@ namespace BlackSound
|
||||
this->m_pushTimer = new QTimer(this);
|
||||
bool connect = this->connect(this->m_pushTimer, &QTimer::timeout, this, &CSoundGenerator::pushTimerExpired);
|
||||
Q_ASSERT(connect);
|
||||
Q_UNUSED(connect); // suppress Clang warning in release build
|
||||
this->m_pushTimer->start(20);
|
||||
}
|
||||
this->m_pushModeIODevice = this->m_audioOutput->start(); // push, IO device not owned
|
||||
@@ -256,7 +257,7 @@ namespace BlackSound
|
||||
if (!success) return false;
|
||||
|
||||
CombinedHeader header;
|
||||
size_t headerLength = sizeof(CombinedHeader);
|
||||
qint64 headerLength = sizeof(CombinedHeader);
|
||||
memset(&header, 0, headerLength);
|
||||
|
||||
// RIFF header
|
||||
|
||||
Reference in New Issue
Block a user