Skip to content

Commit cda403e

Browse files
committed
Removed redundant brackets
1 parent 9c19b3c commit cda403e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flash/partition_info/partition_info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ bool read_next_partition(pico_partition_table_t *pt, pico_partition_t *p) {
132132
p->name[name_length] = '\0';
133133
}
134134
}
135-
if (!(p->has_name))
135+
if (!p->has_name)
136136
p->name[0] = '\0';
137137

138138
pt->current_partition++;

0 commit comments

Comments
 (0)