mirror of
https://github.com/MariaDB/server.git
synced 2026-05-17 20:37:12 +02:00
Fix a lot of compiler warnings found by -Wunused
This commit is contained in:
parent
0bdc15d86e
commit
2ccd6716fc
34 changed files with 60 additions and 68 deletions
2
storage/mroonga/vendor/groonga/lib/alloc.c
vendored
2
storage/mroonga/vendor/groonga/lib/alloc.c
vendored
|
|
@ -644,7 +644,7 @@ grn_ctx_free_lifo(grn_ctx *ctx, void *ptr,
|
|||
}
|
||||
}
|
||||
|
||||
#if USE_DYNAMIC_MALLOC_CHANGE
|
||||
#if defined(USE_DYNAMIC_MALLOC_CHANGE)
|
||||
grn_malloc_func
|
||||
grn_ctx_get_malloc(grn_ctx *ctx)
|
||||
{
|
||||
|
|
|
|||
2
storage/mroonga/vendor/groonga/lib/grn.h
vendored
2
storage/mroonga/vendor/groonga/lib/grn.h
vendored
|
|
@ -259,7 +259,7 @@ typedef pthread_key_t grn_thread_key;
|
|||
# define THREAD_SETSPECIFIC(key, value) pthread_setspecific(key, value)
|
||||
# define THREAD_GETSPECIFIC(key) pthread_getspecific(key)
|
||||
|
||||
#if USE_UYIELD
|
||||
#if defined(USE_UYIELD)
|
||||
extern int grn_uyield_count;
|
||||
#define GRN_TEST_YIELD() do {\
|
||||
if (((++grn_uyield_count) & (0x20 - 1)) == 0) {\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue