Skip to content

Commit 3905493

Browse files
committed
Fastfetch: removes redundant assignment in display config parsing
found by copilot
1 parent f7e7d54 commit 3905493

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/options/display.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,6 @@ const char* ffOptionsParseDisplayJsonConfig(FFOptionsDisplay* options, yyjson_va
492492
return "display.freq.ndigits must be between -1 and 9";
493493
options->freqNdigits = (int8_t) val;
494494
}
495-
options->freqNdigits = (int8_t) yyjson_get_int(ndigits);
496495
}
497496

498497
yyjson_val* spaceBeforeUnit = yyjson_obj_get(val, "spaceBeforeUnit");

0 commit comments

Comments
 (0)