summaryrefslogtreecommitdiff
path: root/sql/mf_iocache.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/mf_iocache.cc
parentecf23c153314eb5a5c3b101c4300cd53dce2aa6b (diff)
downloadmariadb-git-e432151e9cf6a7a5ccf84fc137975ccf38fd0798.tar.gz
Fix a bunch of Windows warnings
Diffstat (limited to 'sql/mf_iocache.cc')
-rw-r--r--sql/mf_iocache.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/mf_iocache.cc b/sql/mf_iocache.cc
index 8c2d16c40b0..ce1d5973d5d 100644
--- a/sql/mf_iocache.cc
+++ b/sql/mf_iocache.cc
@@ -85,6 +85,12 @@ int _my_b_net_read(register IO_CACHE *info, uchar *Buffer,
}
} /* extern "C" */
+
+#elif defined(__WIN__)
+
+// Remove linker warning 4221 about empty file
+namespace { char dummy; };
+
#endif /* HAVE_REPLICATION */