summaryrefslogtreecommitdiff
path: root/sql/hash_filo.cc
diff options
context:
space:
mode:
authorBo Thorsen <bo@askmonty.org>2010-04-21 02:25:59 +0200
committerBo Thorsen <bo@askmonty.org>2010-04-21 02:25:59 +0200
commite432151e9cf6a7a5ccf84fc137975ccf38fd0798 (patch)
tree7a404f0a9cd66efe5dd8d8abc15869d29e00816f /sql/hash_filo.cc
parentecf23c153314eb5a5c3b101c4300cd53dce2aa6b (diff)
downloadmariadb-git-e432151e9cf6a7a5ccf84fc137975ccf38fd0798.tar.gz
Fix a bunch of Windows warnings
Diffstat (limited to 'sql/hash_filo.cc')
-rw-r--r--sql/hash_filo.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/hash_filo.cc b/sql/hash_filo.cc
index 9303120e18a..fcc610fe776 100644
--- a/sql/hash_filo.cc
+++ b/sql/hash_filo.cc
@@ -25,3 +25,8 @@
#include "mysql_priv.h"
#include "hash_filo.h"
+
+#ifdef __WIN__
+// Remove linker warning 4221 about empty file
+namespace { char dummy; };
+#endif // __WIN__