summaryrefslogtreecommitdiff
path: root/storage/myisam/mi_open.c
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2015-02-10 14:05:49 +0400
committerSergey Vojtovich <svoj@mariadb.org>2015-03-16 14:48:22 +0400
commit18e9c314e43271debf58f3c3e5bf454eab655799 (patch)
treecd2ff9ea71622f048b609873f4024eabfa965d3d /storage/myisam/mi_open.c
parent10554ca6cbb6a02098b0cc1a55fb5426164ef348 (diff)
downloadmariadb-git-18e9c314e43271debf58f3c3e5bf454eab655799.tar.gz
MDEV-6650 - LINT_INIT emits code in non-debug builds
Replaced all references to LINT_INIT with UNINIT_VAR and LINT_INIT_STRUCT. Removed LINT_INIT macro.
Diffstat (limited to 'storage/myisam/mi_open.c')
-rw-r--r--storage/myisam/mi_open.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/storage/myisam/mi_open.c b/storage/myisam/mi_open.c
index 060017f10ad..b8cbefe6ac2 100644
--- a/storage/myisam/mi_open.c
+++ b/storage/myisam/mi_open.c
@@ -721,7 +721,6 @@ uchar *mi_alloc_rec_buff(MI_INFO *info, ulong length, uchar **buf)
{
uint extra;
uint32 UNINIT_VAR(old_length);
- LINT_INIT(old_length);
if (! *buf || length > (old_length=mi_get_rec_buff_len(info, *buf)))
{