1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Removed compiler warnings

This commit is contained in:
Michael Widenius
2019-01-01 15:12:39 +02:00
parent 17b73fb954
commit 88cc78c9c4
2 changed files with 2 additions and 5 deletions

View File

@ -2841,10 +2841,6 @@ bool create_key_parts_for_pseudo_indexes(RANGE_OPT_PARAM *param,
{
Field **field_ptr;
TABLE *table= param->table;
partition_info *part_info= NULL;
#ifdef WITH_PARTITION_STORAGE_ENGINE
part_info= table->part_info;
#endif
uint parts= 0;
for (field_ptr= table->field; *field_ptr; field_ptr++)