summaryrefslogtreecommitdiff
path: root/storage/maria/ma_pagecache.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/maria/ma_pagecache.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/maria/ma_pagecache.c')
-rw-r--r--storage/maria/ma_pagecache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/maria/ma_pagecache.c b/storage/maria/ma_pagecache.c
index eeb87d2b7a0..8315c3136c5 100644
--- a/storage/maria/ma_pagecache.c
+++ b/storage/maria/ma_pagecache.c
@@ -3370,8 +3370,7 @@ restart:
/* Key cache is used */
PAGECACHE_BLOCK_LINK *block;
uint status;
- int page_st;
- LINT_INIT(page_st);
+ int UNINIT_VAR(page_st);
pagecache_pthread_mutex_lock(&pagecache->cache_lock);
if (!pagecache->can_be_used)