1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +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

@ -267,7 +267,7 @@ bool checkOverlaps(json_engine_t* jsEg1, json_engine_t* jsEg2, bool compareWhole
namespace funcexp
{
CalpontSystemCatalog::ColType Func_json_overlaps::operationType(FunctionParm& fp,
CalpontSystemCatalog::ColType& resultType)
CalpontSystemCatalog::ColType& /*resultType*/)
{
return fp[0]->data()->resultType();
}
@ -275,8 +275,8 @@ CalpontSystemCatalog::ColType Func_json_overlaps::operationType(FunctionParm& fp
/**
* getBoolVal API definition
*/
bool Func_json_overlaps::getBoolVal(Row& row, FunctionParm& fp, bool& isNull,
CalpontSystemCatalog::ColType& type)
bool Func_json_overlaps::getBoolVal(Row& row, FunctionParm& fp, bool& /*isNull*/,
CalpontSystemCatalog::ColType& /*type*/)
{
bool isNullJS1 = false, isNullJS2 = false;
const auto js1 = fp[0]->data()->getStrVal(row, isNullJS1);