summaryrefslogtreecommitdiff
path: root/mysys/mf_cache.c
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-10-31 20:28:43 +0200
committermonty@hundin.mysql.fi <>2001-10-31 20:28:43 +0200
commit0716bf4d0ef4ec4dd4eb945c2db54f1e9962f401 (patch)
tree92b080e5371729d9f2b8777445095eb5e0545575 /mysys/mf_cache.c
parentd89690e606d38e5b0f1d82117cd26a5264325088 (diff)
downloadmariadb-git-0716bf4d0ef4ec4dd4eb945c2db54f1e9962f401.tar.gz
Portability fixes
Diffstat (limited to 'mysys/mf_cache.c')
-rw-r--r--mysys/mf_cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysys/mf_cache.c b/mysys/mf_cache.c
index 8d6eda8305a..85b6b19b328 100644
--- a/mysys/mf_cache.c
+++ b/mysys/mf_cache.c
@@ -28,7 +28,8 @@
this, just remember the file name for later removal
*/
-static my_bool cache_remove_open_tmp(IO_CACHE *cache, const char *name)
+static my_bool cache_remove_open_tmp(IO_CACHE *cache __attribute__((unused)),
+ const char *name)
{
#if O_TEMPORARY == 0
#if !defined(CANT_DELETE_OPEN_FILES)