core: use uniform style for RateLimit initialization

RateLimit is designed so that we can always initialize only the first two
fields explicitly. All other call sites use a single line for this.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2023-11-22 12:32:31 +00:00
committed by Luca Boccassi
parent b2bd488e76
commit fed25720ef
5 changed files with 8 additions and 14 deletions
+1 -2
View File
@@ -279,8 +279,7 @@ static void path_init(Unit *u) {
p->directory_mode = 0755;
p->trigger_limit.interval = USEC_INFINITY;
p->trigger_limit.burst = UINT_MAX;
p->trigger_limit = RATELIMIT_OFF;
}
void path_free_specs(Path *p) {