mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Fix -Wunused-variable
This commit is contained in:
parent
55c75b6bb3
commit
dba743b653
1 changed files with 2 additions and 2 deletions
|
@ -142,8 +142,8 @@ public:
|
|||
}
|
||||
static void lf_alloc_destructor(uchar *ptr)
|
||||
{
|
||||
XID_cache_element *element= (XID_cache_element*) (ptr + LF_HASH_OVERHEAD);
|
||||
DBUG_ASSERT(!element->is_set(ACQUIRED));
|
||||
DBUG_ASSERT(!reinterpret_cast<XID_cache_element*>(ptr + LF_HASH_OVERHEAD)
|
||||
->is_set(ACQUIRED));
|
||||
}
|
||||
static uchar *key(const XID_cache_element *element, size_t *length,
|
||||
my_bool not_used __attribute__((unused)))
|
||||
|
|
Loading…
Reference in a new issue