1
0
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:
Zdenek Kabelac 2012-01-20 10:59:26 +00:00
parent 8aa66458a3
commit 76b1e2d9b1

View File

@ -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;