summaryrefslogtreecommitdiff
path: root/mysys/mf_cache.c
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-10-31 20:28:43 +0200
committerunknown <monty@hundin.mysql.fi>2001-10-31 20:28:43 +0200
commit679e3810307de3f42619304430f31977ad8fdd83 (patch)
tree92b080e5371729d9f2b8777445095eb5e0545575 /mysys/mf_cache.c
parent03f6fdd575f71aacd4b6e782c9df4b929f8222b1 (diff)
downloadmariadb-git-679e3810307de3f42619304430f31977ad8fdd83.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)