mirror of
https://github.com/MariaDB/server.git
synced 2025-07-24 19:42:23 +03:00
Fixed compiler warnings about possible uninitialized variables
This commit is contained in:
@ -6729,7 +6729,7 @@ static TRP_RANGE *get_key_scans_params(PARAM *param, SEL_TREE *tree,
|
||||
bool update_tbl_stats,
|
||||
double read_time)
|
||||
{
|
||||
uint idx, best_idx;
|
||||
uint idx, UNINIT_VAR(best_idx);
|
||||
SEL_ARG *key_to_read= NULL;
|
||||
ha_rows UNINIT_VAR(best_records); /* protected by key_to_read */
|
||||
uint UNINIT_VAR(best_mrr_flags), /* protected by key_to_read */
|
||||
|
Reference in New Issue
Block a user