mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
stats: initilize regions to NULL
Commit 3750b0cff5
used bad: error
path in more occasions thus it now needs regions defined as NULL.
This commit is contained in:
parent
1fc5d8c428
commit
83c6f7e7e6
@ -4809,7 +4809,7 @@ uint64_t *dm_stats_update_regions_from_fd(struct dm_stats *dms, int fd,
|
||||
{
|
||||
struct dm_histogram *bounds = NULL;
|
||||
int nr_bins, precise, regroup;
|
||||
uint64_t *regions, count = 0;
|
||||
uint64_t *regions = NULL, count = 0;
|
||||
const char *alias = NULL;
|
||||
|
||||
if (!dms->regions || !dm_stats_group_present(dms, group_id)) {
|
||||
|
Loading…
Reference in New Issue
Block a user