LVM2/daemons/dmeventd/plugins/thin dmeventd_thin.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2012-01-20 10:59:26
Modified files:
daemons/dmeventd/plugins/thin: dmeventd_thin.c
Log message:
Thin forgotten initialisation of pointer to NULL
Since the code may go in error path, set to defined NULL.
daemons/dmeventd/plugins/thin/dmeventd_thin.c +1 -1
@@ -142,7 +142,7 @@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 ;