[CRIU] [PATCH 3/3] crtools: terminate the case for value 1071

Andrey Vagin avagin at openvz.org
Fri Feb 5 11:03:30 PST 2016


From: Andrew Vagin <avagin at virtuozzo.com>

CID 157800 (#1 of 1): Missing break in switch (MISSING_BREAK)
unterminated_case: The case for value 1071 is not terminated by a 'break' statement.

Signed-off-by: Andrew Vagin <avagin at virtuozzo.com>
---
 crtools.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crtools.c b/crtools.c
index fa27622..ac997c2 100644
--- a/crtools.c
+++ b/crtools.c
@@ -517,6 +517,7 @@ int main(int argc, char *argv[], char *envp[])
 		case 1071:
 			if (parse_lsm_arg(optarg) < 0)
 				return -1;
+			break;
 		case 1072:
 			opts.timeout = atoi(optarg);
 			break;
-- 
2.4.3



More information about the CRIU mailing list