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

@ -30,8 +30,8 @@ using namespace joblist;
namespace funcexp
{
CalpontSystemCatalog::ColType Func_replace_oracle::operationType(FunctionParm& fp,
CalpontSystemCatalog::ColType& resultType)
CalpontSystemCatalog::ColType Func_replace_oracle::operationType(
FunctionParm& fp, CalpontSystemCatalog::ColType& /*resultType*/)
{
// operation type is not used by this functor
return fp[0]->data()->resultType();
@ -60,7 +60,7 @@ std::string Func_replace_oracle::getStrVal(rowgroup::Row& row, FunctionParm& fp,
const auto& ntostr = fp[2]->data()->getStrVal(row, isNull);
if (ntostr.isNull())
return "";
const auto& tostr = ntostr.unsafeStringRef();
size_t toLen = tostr.length();