diff options
-rw-r--r-- | device_mapper/libdm-report.c | 2 | ||||
-rw-r--r-- | libdm/libdm-report.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/device_mapper/libdm-report.c b/device_mapper/libdm-report.c index f14aa8bc7..c6e7a2a03 100644 --- a/device_mapper/libdm-report.c +++ b/device_mapper/libdm-report.c @@ -3774,7 +3774,7 @@ static struct selection_node *_parse_selection(struct dm_report *rh, struct field_selection *fs; struct selection_node *sn; const char *ws, *we; /* field name */ - const char *vs, *ve; /* value */ + const char *vs = NULL, *ve = NULL; /* value */ const char *last; uint32_t flags, field_num; int implicit; diff --git a/libdm/libdm-report.c b/libdm/libdm-report.c index 5433e74ae..2efcc07c9 100644 --- a/libdm/libdm-report.c +++ b/libdm/libdm-report.c @@ -3773,7 +3773,7 @@ static struct selection_node *_parse_selection(struct dm_report *rh, struct field_selection *fs; struct selection_node *sn; const char *ws, *we; /* field name */ - const char *vs, *ve; /* value */ + const char *vs = NULL, *ve = NULL; /* value */ const char *last; uint32_t flags, field_num; int implicit; |