summaryrefslogtreecommitdiff
path: root/storage/maria
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2013-12-02 22:22:43 +0200
committerMichael Widenius <monty@askmonty.org>2013-12-02 22:22:43 +0200
commitbbda717e9304aa0734dde55b1839cd819875f1cf (patch)
tree097c922b7a652ea5cb96e83686e670e017ef3711 /storage/maria
parent5a8bd446adf3d1a53b8bc4dd88b3830bf0270865 (diff)
downloadmariadb-git-bbda717e9304aa0734dde55b1839cd819875f1cf.tar.gz
Fixed compiler errors and warnings
extra/jemalloc/src/ctl.c: Fixed compiler warning include/mysql/service_logger.h: Fixed compile failure with clang compiler storage/maria/ma_check.c: Fixed compiler warning support-files/compiler_warnings.supp: Suppressed warnings in jemalloc tests/bug25714.c: Fixed compiler warning
Diffstat (limited to 'storage/maria')
-rw-r--r--storage/maria/ma_check.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/maria/ma_check.c b/storage/maria/ma_check.c
index d63ac8be3cb..b7bd08d8bb7 100644
--- a/storage/maria/ma_check.c
+++ b/storage/maria/ma_check.c
@@ -1862,6 +1862,8 @@ static int check_block_record(HA_CHECK *param, MARIA_HA *info, int extend,
uint UNINIT_VAR(row_count), real_row_count, empty_space, page_type, bitmap_pattern;
uint bitmap_for_page;
+ LINT_INIT(empty_space);
+
if (_ma_killed_ptr(param))
{
_ma_scan_end_block_record(info);