Skip to contentSkip to conversation

master - coverity: missing break in switch expression

PATCH Peter Rajnoha 1 participant 1 message Jul 8, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=705fee709fdb2f3f23a5a466d30cf36dab0a9c96
Commit:        705fee709fdb2f3f23a5a466d30cf36dab0a9c96
Parent:        71f4fbfbde720795995abffa1bd8aeaa00706a6b
Author:        Peter Rajnoha <[email protected]>
AuthorDate:    Wed Jul 8 14:36:02 2015 +0200
Committer:     Peter Rajnoha <[email protected]>
CommitterDate: Wed Jul 8 14:36:02 2015 +0200

coverity: missing break in switch expression

lib/lvmpolld/lvmpolld-client.c:109: fallthrough: The above case falls through to this one

---
 lib/lvmpolld/lvmpolld-client.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
lib/lvmpolld/lvmpolld-client.c +1 -0
index d770e74..6676ce9 100644
@@ -106,6 +106,7 @@ static void _explain_error_codes(int retcode)
 	/* lvmpolld specific return codes */
 	case LVMPD_RET_DUP_FAILED:
 		log_error("lvmpolld failed to duplicate file descriptors.");
+		break;
 	case LVMPD_RET_EXC_FAILED:
 		log_error("lvmpolld failed to exec() lvm binary.");
 		break;