diff options
Diffstat (limited to 'meta-oe/recipes-devtools/openocd/openocd/0005-command-Move-the-fall-through-comment-to-right-scope.patch')
-rw-r--r-- | meta-oe/recipes-devtools/openocd/openocd/0005-command-Move-the-fall-through-comment-to-right-scope.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/meta-oe/recipes-devtools/openocd/openocd/0005-command-Move-the-fall-through-comment-to-right-scope.patch b/meta-oe/recipes-devtools/openocd/openocd/0005-command-Move-the-fall-through-comment-to-right-scope.patch deleted file mode 100644 index 60f75da2c..000000000 --- a/meta-oe/recipes-devtools/openocd/openocd/0005-command-Move-the-fall-through-comment-to-right-scope.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
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 | |||