Fix whitespace.

Change-Id: Icc240aecbc7e3e36ce4e4d784f5703304334ca13
This commit is contained in:
Tim Newsome 2020-06-18 12:23:38 -07:00
parent 56d1c6ae6c
commit 0473e317b0
1 changed files with 2 additions and 4 deletions

View File

@ -1288,11 +1288,9 @@ static int enable_triggers(struct target *target, riscv_reg_t *state)
} else {
struct watchpoint *watchpoint = target->watchpoints;
int i = 0;
while (watchpoint)
{
while (watchpoint) {
LOG_DEBUG("watchpoint %d: cleared=%" PRId64, i, state[i]);
if (state[i])
{
if (state[i]) {
if (riscv_add_watchpoint(target, watchpoint) != ERROR_OK)
return ERROR_FAIL;
}