summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2015-02-18 17:15:57 -0500
committerNirbhay Choubey <nirbhay@mariadb.com>2015-02-18 17:15:57 -0500
commit3c9137deeb84dff9fa52734fb5fc3966c6746c00 (patch)
tree3ce5922ee55d6683c2348e1b1772d961754d1cd6 /mysys
parentd8ee54c63321e81ef99465bbadc8e4fb45fe7569 (diff)
parentfdd6c111c254c5044cd9b6c2f7e4d0c74f427a79 (diff)
downloadmariadb-git-3c9137deeb84dff9fa52734fb5fc3966c6746c00.tar.gz
Merge branch '5.5' into 5.5-galera
Merge banch 5.5 till revision : fdd6c11 - MDEV-7419 Function cli_safe_read not exported Conflicts: .bzrignore debian/dist/Debian/mariadb-galera-server-5.5.files.in debian/dist/Ubuntu/mariadb-galera-server-5.5.files.in storage/tokudb/CMakeLists.txt support-files/build-tags
Diffstat (limited to 'mysys')
-rw-r--r--mysys/my_context.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/mysys/my_context.c b/mysys/my_context.c
index 9be5ab80468..80156df4495 100644
--- a/mysys/my_context.c
+++ b/mysys/my_context.c
@@ -729,33 +729,36 @@ my_context_continue(struct my_context *c)
#ifdef MY_CONTEXT_DISABLE
int
-my_context_continue(struct my_context *c)
+my_context_continue(struct my_context *c __attribute__((unused)))
{
return -1;
}
int
-my_context_spawn(struct my_context *c, void (*f)(void *), void *d)
+my_context_spawn(struct my_context *c __attribute__((unused)),
+ void (*f)(void *) __attribute__((unused)),
+ void *d __attribute__((unused)))
{
return -1;
}
int
-my_context_yield(struct my_context *c)
+my_context_yield(struct my_context *c __attribute__((unused)))
{
return -1;
}
int
-my_context_init(struct my_context *c, size_t stack_size)
+my_context_init(struct my_context *c __attribute__((unused)),
+ size_t stack_size __attribute__((unused)))
{
return -1; /* Out of memory */
}
void
-my_context_destroy(struct my_context *c)
+my_context_destroy(struct my_context *c __attribute__((unused)))
{
}