Skip to contentSkip to conversation

master - lvmlockd: shut up warnings

PATCH David Teigland 1 participant 1 message Nov 9, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=e207ededd607fe30cf1f10d5c4415ed30b2d030c
Commit:        e207ededd607fe30cf1f10d5c4415ed30b2d030c
Parent:        36ee36734382b2aa845a435e27fa1fb834be1152
Author:        David Teigland <[email protected]>
AuthorDate:    Mon Nov 9 09:59:51 2015 -0600
Committer:     David Teigland <[email protected]>
CommitterDate: Mon Nov 9 10:00:04 2015 -0600

lvmlockd: shut up warnings

---
 daemons/lvmlockd/lvmlockd-core.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
daemons/lvmlockd/lvmlockd-core.c +0 -2
index 487b6ec..9b06e7d 100644
@@ -3594,8 +3594,6 @@ static int client_send_result(struct client *cl, struct action *act)
 
 		if (gl_use_sanlock && !gl_lsname_sanlock[0])
 			strcat(result_flags, "NO_GL_LS,");
-		else if (gl_use_dlm && !gl_lsname_dlm[0])
-			strcat(result_flags, "NO_GL_LS,");
 		else
 			strcat(result_flags, "NO_GL_LS,");
 	}