master - lvmlockd: clear coverity complaint
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=3f9ae846b89a2963a4ca72cfa0281aab0bedcc02 Commit: 3f9ae846b89a2963a4ca72cfa0281aab0bedcc02 Parent: 81be333e9fcf1f73b23318a9b3e9c366bf1a6cd2 Author: David Teigland <[email protected]> AuthorDate: Mon Dec 18 15:19:17 2017 -0600 Committer: David Teigland <[email protected]> CommitterDate: Mon Dec 18 15:19:17 2017 -0600
lvmlockd: clear coverity complaint
from previous coverity fix, it's never happy.
--- lib/locking/lvmlockd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
lib/locking/lvmlockd.c +1 -1
@@ -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);