summaryrefslogtreecommitdiff
path: root/mysys/my_bitmap.c
diff options
context:
space:
mode:
authormonty@mysql.com <>2006-02-24 18:34:15 +0200
committermonty@mysql.com <>2006-02-24 18:34:15 +0200
commit82b77cdd901bb36d4be23456bc0c5d171a29e3f7 (patch)
tree603ae9081a58d9f7bb204327f65d4a8af4425b28 /mysys/my_bitmap.c
parentb11c033f496eccc680c1026a57af836c9a4578f3 (diff)
downloadmariadb-git-82b77cdd901bb36d4be23456bc0c5d171a29e3f7.tar.gz
Fixes to embedded server to be able to run tests with it
(Needed for "list of pushes" web page and autopush)
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 e2875d9e53e..49c23aaeae5 100644
--- a/mysys/my_bitmap.c
+++ b/mysys/my_bitmap.c
@@ -40,7 +40,7 @@
#include <my_bitmap.h>
#include <m_string.h>
-static inline void bitmap_lock(MY_BITMAP *map)
+static inline void bitmap_lock(MY_BITMAP *map __attribute__((unused)))
{
#ifdef THREAD
if (map->mutex)
@@ -48,7 +48,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)