1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +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

@@ -19,7 +19,7 @@
namespace idbdatafile
{
IDBFileSystem::IDBFileSystem(Types type) : m_type(type)
IDBFileSystem::IDBFileSystem(Types /*type*/)
{
}

View File

@@ -136,16 +136,14 @@ class IDBFileSystem
* chown() changes the owner of the object on the FS
* Returns 0 on success. -1 on error.
*/
virtual int chown(const char* objectName, const uid_t p_uid, const gid_t p_pid, int& funcErrno) const
virtual int chown(const char* /*objectName*/, const uid_t /*p_uid*/, const gid_t /*p_pid*/,
int& /*funcErrno*/) const
{
return 0;
}
protected:
explicit IDBFileSystem(Types type);
private:
Types m_type;
};
/**

View File

@@ -144,7 +144,7 @@ void IDBLogger::logFSop2(IDBFileSystem::Types type, const char* op, const char*
writeLog(logmsg.str());
}
string IDBLogger::get_backtrace(int to_skip, int num_to_show)
string IDBLogger::get_backtrace([[maybe_unused]] int to_skip, [[maybe_unused]] int num_to_show)
{
string retval;
#if !defined(_MSC_VER) && !defined(SKIP_UNWIND)