Use parens after if.
I'm surprised this built with gcc before. Fixes Issue #150. Change-Id: I24d2957783c66ad53d5b532a4e930349a2059a97
This commit is contained in:
parent
f13093fff7
commit
fa385bdcd5
|
@ -1200,7 +1200,7 @@ COMMAND_HANDLER(riscv_set_expose_csrs)
|
||||||
unsigned high = 0;
|
unsigned high = 0;
|
||||||
for (unsigned i = 0; i == 0 || CMD_ARGV[0][i-1]; i++) {
|
for (unsigned i = 0; i == 0 || CMD_ARGV[0][i-1]; i++) {
|
||||||
char c = CMD_ARGV[0][i];
|
char c = CMD_ARGV[0][i];
|
||||||
if isspace(c) {
|
if (isspace(c)) {
|
||||||
// Ignore whitespace.
|
// Ignore whitespace.
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue