aboutsummaryrefslogtreecommitdiff
path: root/src/helper/command.c
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2017-12-22 13:03:58 -0800
committerTim Newsome <tim@sifive.com>2017-12-22 13:03:58 -0800
commitd2c92be73f05e7e6aab5d3d88172e9768f2301d9 (patch)
tree9fbf82d9d4332f67831cfb098e21b6085da7f497 /src/helper/command.c
parent6c719f0ab838e6804500fa8ac6917b34a78ecf3e (diff)
parent1c2e3d41de30c5e47d3fc8eda3de0a0a8229895a (diff)
downloadriscv-openocd-d2c92be73f05e7e6aab5d3d88172e9768f2301d9.zip
riscv-openocd-d2c92be73f05e7e6aab5d3d88172e9768f2301d9.tar.gz
riscv-openocd-d2c92be73f05e7e6aab5d3d88172e9768f2301d9.tar.bz2
Merge branch 'master' into update
Change-Id: Icec244b174cc0c67ab58961649a369db7f344824
Diffstat (limited to 'src/helper/command.c')
-rw-r--r--src/helper/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/command.c b/src/helper/command.c
index 5deaee8..40e8b05 100644
--- a/src/helper/command.c
+++ b/src/helper/command.c
@@ -1456,8 +1456,8 @@ COMMAND_HELPER(handle_command_parse_bool, bool *out, const char *label)
LOG_ERROR("%s: argument '%s' is not valid", CMD_NAME, in);
return ERROR_COMMAND_SYNTAX_ERROR;
}
- /* fall through */
}
+ /* fallthrough */
case 0:
LOG_INFO("%s is %s", label, *out ? "enabled" : "disabled");
break;