summaryrefslogtreecommitdiff
path: root/sql/debug_sync.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2011-02-19 15:16:31 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2011-02-19 15:16:31 +0100
commit99320324b2703666ded62439276249f8ae05ed51 (patch)
treef89d6f61f5d8263d6031bba9a3a8db2b3f784a99 /sql/debug_sync.cc
parent70a7e97e3cc32b0263e1428ca5fa27e720920dc2 (diff)
downloadmariadb-git-99320324b2703666ded62439276249f8ae05ed51.tar.gz
Fix remaining windows (32 bit) warnings.
Diffstat (limited to 'sql/debug_sync.cc')
-rw-r--r--sql/debug_sync.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/debug_sync.cc b/sql/debug_sync.cc
index c9c580c6442..2384cdc8608 100644
--- a/sql/debug_sync.cc
+++ b/sql/debug_sync.cc
@@ -1942,4 +1942,7 @@ bool debug_sync_set_action(THD *thd, const char *action_str, size_t len)
}
-#endif /* defined(ENABLED_DEBUG_SYNC) */
+#else /* defined(ENABLED_DEBUG_SYNC) */
+/* prevent linker/lib warning about file without public symbols */
+int debug_sync_dummy;
+#endif /* defined(ENABLED_DEBUG_SYNC) */ \ No newline at end of file