summaryrefslogtreecommitdiff
path: root/mysys/my_bitmap.c
diff options
context:
space:
mode:
authormonty@mysql.com <>2006-02-25 21:54:34 +0200
committermonty@mysql.com <>2006-02-25 21:54:34 +0200
commit1e2e9e28565d97f140f230824a1adfcea475ee34 (patch)
tree69f6c8a1a1bef870aa8b2cbe729b0fd87fcf1c31 /mysys/my_bitmap.c
parent066c7148fb5243a0533fd7b6edfe948cb1722548 (diff)
parent54274976e7b4a9a28e94a6f0b4f8d064140248db (diff)
downloadmariadb-git-1e2e9e28565d97f140f230824a1adfcea475ee34.tar.gz
Merge mysql.com:/home/my/mysql-5.0
into mysql.com:/home/my/mysql-5.1
Diffstat (limited to 'mysys/my_bitmap.c')
-rw-r--r--mysys/my_bitmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_bitmap.c b/mysys/my_bitmap.c
index 91575d66368..70edb507b5f 100644
--- a/mysys/my_bitmap.c
+++ b/mysys/my_bitmap.c
@@ -84,7 +84,7 @@ void create_last_word_mask(MY_BITMAP *map)
}
}
-static inline void bitmap_lock(MY_BITMAP *map)
+static inline void bitmap_lock(MY_BITMAP *map __attribute__((unused)))
{
#ifdef THREAD
if (map->mutex)
@@ -92,7 +92,7 @@ static inline void bitmap_lock(MY_BITMAP *map)
#endif
}
-static inline void bitmap_unlock(MY_BITMAP *map)
+static inline void bitmap_unlock(MY_BITMAP *map __attribute__((unused)))
{
#ifdef THREAD
if (map->mutex)