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

@ -322,8 +322,8 @@ drop_table_statement:
;
opt_if_exists:
IDB_IF EXISTS {$$ = NULL;}
| {$$ = NULL;}
IDB_IF EXISTS {$$ = true;}
| {$$ = true;}
;
drop_index_statement:

View File

@ -481,7 +481,7 @@ struct TableDef : public SchemaObject
* ctor
*/
TableDef(QualifiedName* name, ColumnDefList columns, TableConstraintDefList constraints,
int tableWithAutoinc)
int /*tableWithAutoinc*/)
: fQualifiedName(name), fColumns(columns), fConstraints(constraints)
{
@ -1042,7 +1042,7 @@ struct ColumnDef : public SchemaObject
/** @brief ColumnDef ctor.
* ctor */
ColumnDef(const char* name, ColumnType* type, ColumnConstraintList constraints,
ColumnDefaultValue* defaultValue = nullptr, const char* comment = nullptr)
ColumnDefaultValue* defaultValue = nullptr, const char* /*comment*/ = nullptr)
: SchemaObject(name), fType(type), fConstraints(constraints), fDefaultValue(defaultValue)
{
}