return r;
STRV_FOREACH(c, deps) {
- times = hashmap_get(unit_times_hashmap, *c);
+ times = hashmap_get(unit_times_hashmap, *c); /* lgtm [cpp/inconsistent-null-check] */
if (times_in_range(times, boot) && times->activated >= service_longest)
service_longest = times->activated;
}
return r;
STRV_FOREACH(c, deps) {
- times = hashmap_get(unit_times_hashmap, *c);
+ times = hashmap_get(unit_times_hashmap, *c); /* lgtm [cpp/inconsistent-null-check] */
if (times_in_range(times, boot) && service_longest - times->activated <= arg_fuzz)
to_print++;
}
return r;
STRV_FOREACH(c, deps) {
- times = hashmap_get(unit_times_hashmap, *c);
+ times = hashmap_get(unit_times_hashmap, *c); /* lgtm [cpp/inconsistent-null-check] */
if (!times_in_range(times, boot) || service_longest - times->activated > arg_fuzz)
continue;
/* Entry already exists, keep the entry with the higher TTL. */
if (rr->ttl > exist->rr->ttl) {
dns_resource_record_unref(exist->rr);
- exist->rr = dns_resource_record_ref(rr);
+ exist->rr = dns_resource_record_ref(rr); /* lgtm [cpp/inconsistent-null-check] */
/* Update RRSIG and RR at the same time */
if (rrsig) {