Skip to content

Commit

Permalink
Merge pull request riscv#922 from riscv/parens
Browse files Browse the repository at this point in the history
tools: Remove unnecessary parens.
  • Loading branch information
timsifive authored Dec 7, 2023
2 parents a992f2e + 5922594 commit 58f13cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debug_reg_printer.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static unsigned int riscv_debug_reg_fields_to_s(char *buf, unsigned int offset,

uint64_t field_value = riscv_debug_reg_field_value(list.field, value);

if ((show == RISCV_DEBUG_REG_SHOW_ALL) ||
if (show == RISCV_DEBUG_REG_SHOW_ALL ||
(show == RISCV_DEBUG_REG_HIDE_UNNAMED_0 &&
(field_value != 0 ||
(list.field.values && list.field.values[0]))) ||
Expand Down

0 comments on commit 58f13cd

Please sign in to comment.