Fastfetch: removes redundant assignment in display config parsing

found by copilot
This commit is contained in:
李通洲
2025-09-05 11:08:26 +08:00
parent f7e7d54c16
commit 390549394d
-1
View File
@@ -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");