Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | From 29dbf92ffdbdda29662b4190a2f8eb09caad8b51 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 17 Jun 2017 00:06:32 -0700 |
| 4 | Subject: [PATCH 5/5] command: Move the fall through comment to right scope |
| 5 | |
| 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 7 | --- |
| 8 | src/helper/command.c | 2 +- |
| 9 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 10 | |
| 11 | diff --git a/src/helper/command.c b/src/helper/command.c |
| 12 | index 5deaee859..287c14857 100644 |
| 13 | --- a/src/helper/command.c |
| 14 | +++ b/src/helper/command.c |
| 15 | @@ -1456,8 +1456,8 @@ COMMAND_HELPER(handle_command_parse_bool, bool *out, const char *label) |
| 16 | LOG_ERROR("%s: argument '%s' is not valid", CMD_NAME, in); |
| 17 | return ERROR_COMMAND_SYNTAX_ERROR; |
| 18 | } |
| 19 | - /* fall through */ |
| 20 | } |
| 21 | + /* fall through */ |
| 22 | case 0: |
| 23 | LOG_INFO("%s is %s", label, *out ? "enabled" : "disabled"); |
| 24 | break; |
| 25 | -- |
| 26 | 2.13.1 |
| 27 | |