summaryrefslogtreecommitdiff
path: root/mysys/ma_dyncol.c
diff options
context:
space:
mode:
authorunknown <sanja@askmonty.org>2013-01-14 13:36:28 +0200
committerunknown <sanja@askmonty.org>2013-01-14 13:36:28 +0200
commit936b6fab6063326e54c93eb37755973084fe774d (patch)
treeb9943ad86feea4ab043bdc78814327143273375e /mysys/ma_dyncol.c
parent557303b831751e6b063fc6eef9814078e526214d (diff)
downloadmariadb-git-936b6fab6063326e54c93eb37755973084fe774d.tar.gz
Compiler warning fixed.
Diffstat (limited to 'mysys/ma_dyncol.c')
-rw-r--r--mysys/ma_dyncol.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/mysys/ma_dyncol.c b/mysys/ma_dyncol.c
index 0fdce15f423..f45f73fbd8e 100644
--- a/mysys/ma_dyncol.c
+++ b/mysys/ma_dyncol.c
@@ -2718,9 +2718,8 @@ dynamic_column_update_copy(DYNAMIC_COLUMN *str, PLAN *plan,
new_hdr->header_size + new_hdr->nmpool_size;
for (i= 0, j= 0; i < add_column_count || j < hdr->column_count; i++)
{
- size_t first_offset;
+ size_t UNINIT_VAR(first_offset);
uint start= j, end;
- LINT_INIT(first_offset);
/*
Search in i and j for the next column to add from i and where to
@@ -2868,9 +2867,8 @@ dynamic_column_update_move_left(DYNAMIC_COLUMN *str, PLAN *plan,
i < add_column_count || j < column_count;
i++)
{
- size_t first_offset;
+ size_t UNINIT_VAR(first_offset);
uint start= j, end;
- LINT_INIT(first_offset);
/*
Search in i and j for the next column to add from i and where to
@@ -3058,9 +3056,8 @@ dynamic_column_update_move_right(DYNAMIC_COLUMN *str, PLAN *plan,
i < add_column_count || j < column_count;
i++)
{
- size_t first_offset;
+ size_t UNINIT_VAR(first_offset);
uint start= j, end;
- LINT_INIT(first_offset);
/*
Search in i and j for the next column to add from i and where to