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

@ -25,7 +25,8 @@ int setupJSPath(json_path_t* path, CHARSET_INFO* cs, const utils::NullString& st
return 1;
}
bool appendEscapedJS(string& ret, const CHARSET_INFO* retCS, const utils::NullString& js, const CHARSET_INFO* jsCS)
bool appendEscapedJS(string& ret, const CHARSET_INFO* retCS, const utils::NullString& js,
const CHARSET_INFO* jsCS)
{
const int jsLen = js.length();
const char* rawJS = js.str();
@ -355,7 +356,7 @@ int parseJSPath(JSONPath& path, rowgroup::Row& row, execplan::SPTP& parm, bool w
}
bool matchJSPath(const vector<funcexp::JSONPath>& paths, const json_path_t* p, json_value_types valType,
const int* arrayCounter, bool exact)
const int* /*arrayCounter*/, bool exact)
{
for (size_t curr = 0; curr < paths.size(); curr++)
{
@ -372,4 +373,3 @@ bool matchJSPath(const vector<funcexp::JSONPath>& paths, const json_path_t* p, j
}
} // namespace helpers
} // namespace funcexp