Skip to contentSkip to conversation

master - coverity: previous commit - not "break" but "fall through"

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=e8dbaf62d3b3e2a175d3b0237a4d85c009d98038
Commit:        e8dbaf62d3b3e2a175d3b0237a4d85c009d98038
Parent:        705fee709fdb2f3f23a5a466d30cf36dab0a9c96
Author:        Peter Rajnoha <[email protected]>
AuthorDate:    Wed Jul 8 14:42:26 2015 +0200
Committer:     Peter Rajnoha <[email protected]>
CommitterDate: Wed Jul 8 14:42:31 2015 +0200

coverity: previous commit - not "break" but "fall through"

---
 lib/lvmpolld/lvmpolld-client.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/lvmpolld/lvmpolld-client.c +1 -1
index 6676ce9..8be2d7b 100644
@@ -106,7 +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;
+		/* fall through */
 	case LVMPD_RET_EXC_FAILED:
 		log_error("lvmpolld failed to exec() lvm binary.");
 		break;