summaryrefslogtreecommitdiff
path: root/storage/maria/ma_dynrec.c
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2014-03-11 16:53:24 +0200
committerMichael Widenius <monty@mariadb.org>2014-03-11 16:53:24 +0200
commit800a278fd09c353a02f02c9c32074d3807861967 (patch)
treece83df84936053a694474dc1632e7869073a503a /storage/maria/ma_dynrec.c
parent599eb0dc8632da402af65f600777cfaf3c3d513e (diff)
downloadmariadb-git-800a278fd09c353a02f02c9c32074d3807861967.tar.gz
Fixed a compiler failure and removed some warnings in windows
extra/replace.c: Removed compiler warning sql/unireg.cc: Removed compiler warning storage/maria/ma_blockrec.c: Removed compiler warning storage/maria/ma_dynrec.c: Fixed compiler failure storage/maria/ma_unique.c: Removed compiler warning storage/myisam/mi_check.c: Removed compiler warning storage/myisam/mi_checksum.c: Removed compiler warning
Diffstat (limited to 'storage/maria/ma_dynrec.c')
-rw-r--r--storage/maria/ma_dynrec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/maria/ma_dynrec.c b/storage/maria/ma_dynrec.c
index b58ba9de1b8..c47da42b555 100644
--- a/storage/maria/ma_dynrec.c
+++ b/storage/maria/ma_dynrec.c
@@ -1594,9 +1594,8 @@ my_bool _ma_cmp_dynamic_record(register MARIA_HA *info,
MARIA_BLOCK_INFO block_info;
my_bool error= 1;
size_t buffer_length;
- LINT_INIT(buffer_length);
-
DBUG_ENTER("_ma_cmp_dynamic_record");
+ LINT_INIT(buffer_length);
if (info->opt_flag & WRITE_CACHE_USED)
{