summaryrefslogtreecommitdiff
path: root/sql/debug_sync.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/debug_sync.cc')
-rw-r--r--sql/debug_sync.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/debug_sync.cc b/sql/debug_sync.cc
index 7f69ae54037..7e5db3b499d 100644
--- a/sql/debug_sync.cc
+++ b/sql/debug_sync.cc
@@ -1691,7 +1691,8 @@ static void debug_sync_execute(THD *thd, st_debug_sync_action *action)
if (action->execute)
{
- const char *UNINIT_VAR(old_proc_info);
+ const char *old_proc_info;
+ LINT_INIT(old_proc_info);
action->execute--;
@@ -1927,4 +1928,7 @@ bool debug_sync_set_action(THD *thd, const char *action_str, size_t len)
}
+#else /* defined(ENABLED_DEBUG_SYNC) */
+/* prevent linker/lib warning about file without public symbols */
+int debug_sync_dummy;
#endif /* defined(ENABLED_DEBUG_SYNC) */