mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
cgroup: silence coverity warning
Coverity noted that most clients reacted to failure to hash; but in a best-effort kill loop, we can ignore failure. * src/util/cgroup.c (virCgroupKillInternal): Ignore hash failure.
This commit is contained in:
parent
dd0c42abd4
commit
3f81f8e4c1
@ -1395,7 +1395,7 @@ static int virCgroupKillInternal(virCgroupPtr group, int signum, virHashTablePtr
|
||||
done = false;
|
||||
}
|
||||
|
||||
virHashAddEntry(pids, (void*)pid, (void*)1);
|
||||
ignore_value(virHashAddEntry(pids, (void*)pid, (void*)1));
|
||||
}
|
||||
VIR_FORCE_FCLOSE(fp);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user