mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-24 14:50:34 +03:00
Thin forgotten initialisation of pointer to NULL
Since the code may go in error path, set to defined NULL.
This commit is contained in:
parent
8aa66458a3
commit
76b1e2d9b1
@ -142,7 +142,7 @@ void process_event(struct dm_task *dmt,
|
||||
const char *device = dm_task_get_name(dmt);
|
||||
int percent;
|
||||
struct dso_state *state = *private;
|
||||
struct dm_status_thin_pool *tps;
|
||||
struct dm_status_thin_pool *tps = NULL;
|
||||
void *next = NULL;
|
||||
uint64_t start, length;
|
||||
char *target_type = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user