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

@ -1192,7 +1192,7 @@ std::shared_ptr<char[]> seekToEndOfHeader1(int fd, size_t* _bytesRead)
throw runtime_error("seekToEndOfHeader1: did not find the end of the header");
}
int IOCoordinator::mergeJournal(int objFD, int journalFD, uint8_t* buf, off_t offset, size_t* len) const
int IOCoordinator::mergeJournal(int /*objFD*/, int /*journalFD*/, uint8_t* /*buf*/, off_t /*offset*/, size_t* /*len*/) const
{
throw runtime_error("IOCoordinator::mergeJournal(int, int, etc) is not implemented yet.");
}

View File

@ -222,7 +222,7 @@ void Ownership::takeOwnership(const bf::path& p)
auto it = ownedPrefixes.find(p);
if (it != ownedPrefixes.end())
return;
ownedPrefixes[p] = NULL;
ownedPrefixes[p] = false;
s.unlock();
bool okToTransfer = false;

View File

@ -301,7 +301,7 @@ void Synchronizer::periodicSync()
}
}
void Synchronizer::syncNow(const bf::path& prefix)
void Synchronizer::syncNow(const bf::path& /*prefix*/)
{
boost::unique_lock<boost::mutex> lock(mutex);