aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2017-12-21 12:50:56 -0800
committerGitHub <noreply@github.com>2017-12-21 12:50:56 -0800
commit105536089b3fc1bfe65b27ce891e60d8136f0737 (patch)
tree492a1243a2ddac0358e840751b2be1d635f61b39
parentf13093fff7fca16681e4ded390c82b56c0549bee (diff)
parentfa385bdcd5c2825dc625d6a8f6678108146e9866 (diff)
downloadriscv-openocd-105536089b3fc1bfe65b27ce891e60d8136f0737.zip
riscv-openocd-105536089b3fc1bfe65b27ce891e60d8136f0737.tar.gz
riscv-openocd-105536089b3fc1bfe65b27ce891e60d8136f0737.tar.bz2
Merge pull request #151 from riscv/use_paren
Use parens after if.
-rw-r--r--src/target/riscv/riscv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/riscv/riscv.c b/src/target/riscv/riscv.c
index 2f1084f..0af5032 100644
--- a/src/target/riscv/riscv.c
+++ b/src/target/riscv/riscv.c
@@ -1200,7 +1200,7 @@ COMMAND_HANDLER(riscv_set_expose_csrs)
unsigned high = 0;
for (unsigned i = 0; i == 0 || CMD_ARGV[0][i-1]; i++) {
char c = CMD_ARGV[0][i];
- if isspace(c) {
+ if (isspace(c)) {
// Ignore whitespace.
continue;
}