summaryrefslogtreecommitdiff
path: root/storage/myisam
diff options
context:
space:
mode:
authorunknown <sanja@askmonty.org>2011-10-18 13:44:12 +0300
committerunknown <sanja@askmonty.org>2011-10-18 13:44:12 +0300
commit255c04aed8b4159ac8402bc80bab3771c0236d40 (patch)
tree8d947e1a98f7f3eb9dce22ee44e49276d357ea4f /storage/myisam
parent9f6e24a05a32c147f292cd6260d63a31cb8cd9db (diff)
downloadmariadb-git-255c04aed8b4159ac8402bc80bab3771c0236d40.tar.gz
Compiler warning about assigned but not used variables fixed.
Diffstat (limited to 'storage/myisam')
-rw-r--r--storage/myisam/mi_check.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/storage/myisam/mi_check.c b/storage/myisam/mi_check.c
index 515b506bad4..eb4592f4459 100644
--- a/storage/myisam/mi_check.c
+++ b/storage/myisam/mi_check.c
@@ -949,7 +949,6 @@ int chk_data_link(HA_CHECK *param, MI_INFO *info, my_bool extend)
char llbuff[22],llbuff2[22],llbuff3[22];
ha_checksum intern_record_checksum;
ha_checksum key_checksum[HA_MAX_POSSIBLE_KEY];
- my_bool static_row_size;
MI_KEYDEF *keyinfo;
MI_BLOCK_INFO block_info;
DBUG_ENTER("chk_data_link");
@@ -974,7 +973,6 @@ int chk_data_link(HA_CHECK *param, MI_INFO *info, my_bool extend)
empty=info->s->pack.header_length;
/* Check how to calculate checksum of rows */
- static_row_size=1;
if (info->s->data_file_type == COMPRESSED_RECORD)
{
for (field=0 ; field < info->s->base.fields ; field++)
@@ -982,7 +980,6 @@ int chk_data_link(HA_CHECK *param, MI_INFO *info, my_bool extend)
if (info->s->rec[field].base_type == FIELD_BLOB ||
info->s->rec[field].base_type == FIELD_VARCHAR)
{
- static_row_size=0;
break;
}
}