summaryrefslogtreecommitdiff
path: root/libdm
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-04-22 21:49:30 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2021-04-23 23:00:55 +0200
commit21bdd0a3597eaa138906bc467f6749e70bc60e78 (patch)
tree431cda2e815823d1070c7cf86b841d387b92118c /libdm
parent8f85834a330c1b803c130d9f7a33633267fb8d5b (diff)
downloadlvm2-21bdd0a3597eaa138906bc467f6749e70bc60e78.tar.gz
clang: always initialized values
Diffstat (limited to 'libdm')
-rw-r--r--libdm/libdm-report.c2
1 files changed, 1 insertions, 1 deletions
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;