1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

chore(build): fixes to satisfy clang19 warnings

This commit is contained in:
Leonid Fedorov
2025-05-08 15:26:36 +00:00
committed by Leonid Fedorov
parent 9fd7f342a7
commit a0bee173f6
334 changed files with 3062 additions and 3323 deletions

View File

@ -170,7 +170,7 @@ int RedistributeControl::handleUIMsg(messageqcpp::ByteStream& bs, messageqcpp::I
return status;
}
int RedistributeControl::handleStartMsg(messageqcpp::ByteStream& bs, messageqcpp::IOSocket& so)
int RedistributeControl::handleStartMsg(messageqcpp::ByteStream& bs, messageqcpp::IOSocket& /*so*/)
{
ostringstream oss;
uint32_t status = getCurrentState();
@ -236,7 +236,7 @@ int RedistributeControl::handleStartMsg(messageqcpp::ByteStream& bs, messageqcpp
return status;
}
int RedistributeControl::handleStatusMsg(messageqcpp::ByteStream&, messageqcpp::IOSocket& so)
int RedistributeControl::handleStatusMsg(messageqcpp::ByteStream&, messageqcpp::IOSocket& /*so*/)
{
ostringstream oss;
uint32_t status = getCurrentState();
@ -329,7 +329,7 @@ int RedistributeControl::handleStatusMsg(messageqcpp::ByteStream&, messageqcpp::
return status;
}
int RedistributeControl::handleStopMsg(messageqcpp::ByteStream&, messageqcpp::IOSocket& so)
int RedistributeControl::handleStopMsg(messageqcpp::ByteStream&, messageqcpp::IOSocket& /*so*/)
{
ostringstream oss;
uint32_t status = getCurrentState();
@ -353,7 +353,7 @@ int RedistributeControl::handleStopMsg(messageqcpp::ByteStream&, messageqcpp::IO
return status;
}
int RedistributeControl::handleClearMsg(messageqcpp::ByteStream&, messageqcpp::IOSocket& so)
int RedistributeControl::handleClearMsg(messageqcpp::ByteStream&, messageqcpp::IOSocket& /*so*/)
{
ostringstream oss;
uint32_t status = getCurrentState();

View File

@ -1434,7 +1434,7 @@ void RedistributeWorkerThread::handleDataFinish(SBS& sbs, size_t& size)
fIOSocket.write(fBs);
}
void RedistributeWorkerThread::handleDataCommit(SBS& sbs, size_t& size)
void RedistributeWorkerThread::handleDataCommit(SBS& sbs, size_t& /*size*/)
{
size_t ack = 0;
sbs.reset();
@ -1446,7 +1446,7 @@ void RedistributeWorkerThread::handleDataCommit(SBS& sbs, size_t& size)
fIOSocket.write(fBs);
}
void RedistributeWorkerThread::handleDataAbort(SBS& sbs, size_t& size)
void RedistributeWorkerThread::handleDataAbort(SBS& sbs, size_t& /*size*/)
{
// close open file
if (fNewFilePtr != NULL)