Commit f20d556f authored by Vicentiu Ciorbaru's avatar Vicentiu Ciorbaru Committed by Monty

Fix use of uninitialized variable

The original code generated a warning in gcc 13.1
parent ecd8a522
......@@ -4744,7 +4744,7 @@ int _ma_read_block_record2(MARIA_HA *info, uchar *record,
uchar *data, uchar *end_of_data)
{
MARIA_SHARE *share= info->s;
uchar *UNINIT_VAR(field_length_data), *UNINIT_VAR(blob_buffer), *start_of_data;
uchar *field_length_data= 0, *UNINIT_VAR(blob_buffer), *start_of_data;
uint flag, null_bytes, cur_null_bytes, row_extents, field_lengths;
my_bool found_blob= 0;
MARIA_EXTENT_CURSOR extent;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment