mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Fastfetch: removes redundant assignment in display config parsing
found by copilot
This commit is contained in:
@@ -492,7 +492,6 @@ const char* ffOptionsParseDisplayJsonConfig(FFOptionsDisplay* options, yyjson_va
|
||||
return "display.freq.ndigits must be between -1 and 9";
|
||||
options->freqNdigits = (int8_t) val;
|
||||
}
|
||||
options->freqNdigits = (int8_t) yyjson_get_int(ndigits);
|
||||
}
|
||||
|
||||
yyjson_val* spaceBeforeUnit = yyjson_obj_get(val, "spaceBeforeUnit");
|
||||
|
||||
Reference in New Issue
Block a user