mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
Fix GCC -Wunused-function
debug_sync_set_action(): Declare the dummy function inline,
to silence a warning about declared-but-unused static function.
This amends commit 3ccd6766d0
.
This commit is contained in:
parent
3ccd6766d0
commit
e76ca24bb1
1 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,8 @@ extern uchar *debug_sync_value_ptr(THD *thd);
|
|||
static inline void debug_sync_init_thread(THD *thd) {}
|
||||
static inline void debug_sync_end_thread(THD *thd) {}
|
||||
static inline void debug_sync_reset_thread(THD *thd) {}
|
||||
static bool debug_sync_set_action(THD *thd, const char *action_str, size_t len) {return false;}
|
||||
static inline bool debug_sync_set_action(THD *, const char *, size_t)
|
||||
{ return false; }
|
||||
#endif /* defined(ENABLED_DEBUG_SYNC) */
|
||||
|
||||
#endif /* DEBUG_SYNC_INCLUDED */
|
||||
|
|
Loading…
Reference in a new issue