mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Get rid of more GCC warnings about unused parameters
modified: storage/connect/array.cpp modified: storage/connect/ha_connect.cc modified: storage/connect/mycat.cc modified: storage/connect/tabxml.cpp modified: storage/connect/user_connect.cc modified: storage/connect/user_connect.h
This commit is contained in:
@@ -186,7 +186,7 @@ ARRAY::ARRAY(PGLOBAL g, int type, int size, int length, int prec)
|
||||
// The error message was built by PlgDBalloc
|
||||
Type = TYPE_ERROR;
|
||||
else if (type != TYPE_PCHAR)
|
||||
Value = AllocateValue(g, type, Len, prec, NULL);
|
||||
Value = AllocateValue(g, type, Len, prec);
|
||||
|
||||
Constant = TRUE;
|
||||
} // end of ARRAY constructor
|
||||
@@ -610,7 +610,7 @@ int ARRAY::Convert(PGLOBAL g, int k, PVAL vp)
|
||||
// The error message was built by PlgDBalloc
|
||||
return TYPE_ERROR;
|
||||
else
|
||||
Value = AllocateValue(g, Type, Len, prec, NULL);
|
||||
Value = AllocateValue(g, Type, Len, prec);
|
||||
|
||||
/*********************************************************************/
|
||||
/* Converting STRING to DATE can be done according to date format. */
|
||||
|
Reference in New Issue
Block a user