diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-11-03 16:17:06 -0200 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2009-11-03 16:17:06 -0200 |
commit | 69859d8d83527dbbf0bfd7788725f086a0455baa (patch) | |
tree | 021adac027427281a771fab22c85cf4719a565b5 /libmysql | |
parent | 06c9d62a9f72c1554b3619f10388092da4ee9c04 (diff) | |
download | mariadb-git-69859d8d83527dbbf0bfd7788725f086a0455baa.tar.gz |
Fix compiler warnings -- tag unused parameters.
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/libmysql.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index 92a90ba79b3..d287679bebb 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -1615,12 +1615,14 @@ mysql_real_escape_string(MYSQL *mysql, char *to,const char *from, char * STDCALL -mysql_odbc_escape_string(MYSQL *mysql, - char *to, ulong to_length, - const char *from, ulong from_length, - void *param, - char * (*extend_buffer) - (void *, char *, ulong *)) +mysql_odbc_escape_string(MYSQL *mysql __attribute__((unused)), + char *to __attribute__((unused)), + ulong to_length __attribute__((unused)), + const char *from __attribute__((unused)), + ulong from_length __attribute__((unused)), + void *param __attribute__((unused)), + char * (*extend_buffer)(void *, char *, ulong *) + __attribute__((unused))) { return NULL; } |