1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +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

@ -38,7 +38,7 @@ namespace utils
as the deleter. */
struct BoostPoolDeallocator
{
inline void operator()(void* ptr) {};
inline void operator()(void* /*ptr*/) {};
};
/* This is an STL-compliant wrapper for PoolAllocator + an optimization for containers
@ -134,14 +134,14 @@ STLPoolAllocator<T>::~STLPoolAllocator()
template <class T>
typename STLPoolAllocator<T>::pointer STLPoolAllocator<T>::allocate(
typename STLPoolAllocator<T>::size_type s, typename STLPoolAllocator<T>::const_pointer hint)
typename STLPoolAllocator<T>::size_type s, typename STLPoolAllocator<T>::const_pointer /*hint*/)
{
return (pointer)pa->allocate(s * sizeof(T));
}
template <class T>
void STLPoolAllocator<T>::deallocate(typename STLPoolAllocator<T>::pointer p,
typename STLPoolAllocator<T>::size_type n)
typename STLPoolAllocator<T>::size_type /*n*/)
{
pa->deallocate((void*)p);
}