Skip to content

Commit

Permalink
tools: Remove unnecessary parens.
Browse files Browse the repository at this point in the history
This makes it easier to merge the code into picky code bases.
  • Loading branch information
timsifive committed Dec 7, 2023
1 parent a992f2e commit 5922594
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 5922594

Please sign in to comment.