mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
clang: keep final_opts_list initialized for all paths
Likely impossible path, but just keep always initilized.
This commit is contained in:
parent
9c5d2874a7
commit
1a5c79d1d1
@ -828,7 +828,7 @@ static int _get_report_options(struct cmd_context *cmd,
|
||||
{
|
||||
int action;
|
||||
struct arg_value_group_list *current_group;
|
||||
struct dm_list *final_opts_list[REPORT_IDX_COUNT];
|
||||
struct dm_list *final_opts_list[REPORT_IDX_COUNT] = { NULL };
|
||||
struct dm_list *opts_list = NULL;
|
||||
struct dm_str_list *sl;
|
||||
struct dm_pool *mem;
|
||||
|
Loading…
Reference in New Issue
Block a user