From d70ba36fbb7851979265d7635740111a6aee5937 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Mon, 18 Dec 2017 15:19:17 -0600 Subject: [PATCH 07/25] lvmlockd: clear coverity complaint from previous coverity fix, it's never happy. (cherry picked from commit 3f9ae846b89a2963a4ca72cfa0281aab0bedcc02) --- lib/locking/lvmlockd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locking/lvmlockd.c b/lib/locking/lvmlockd.c index 0365797..a4684b4 100644 --- a/lib/locking/lvmlockd.c +++ b/lib/locking/lvmlockd.c @@ -2148,7 +2148,7 @@ int lockd_lv_name(struct cmd_context *cmd, struct volume_group *vg, static int _lockd_lv_thin(struct cmd_context *cmd, struct logical_volume *lv, const char *def_mode, uint32_t flags) { - struct logical_volume *pool_lv; + struct logical_volume *pool_lv = NULL; if (lv_is_thin_volume(lv)) { struct lv_segment *pool_seg = first_seg(lv); -- 1.8.3.1