static void log_children_no_yet_killed(Set *pids) {
_cleanup_free_ char *lst_child = NULL;
- Iterator i;
void *p;
- SET_FOREACH(p, pids, i) {
+ SET_FOREACH(p, pids) {
_cleanup_free_ char *s = NULL;
if (get_process_comm(PTR_TO_PID(p), &s) < 0)
struct timespec ts;
int k;
void *p;
- Iterator i;
/* First, let the kernel inform us about killed
* children. Most processes will probably be our
/* Now explicitly check who might be remaining, who
* might not be our child. */
- SET_FOREACH(p, pids, i) {
+ SET_FOREACH(p, pids) {
/* kill(pid, 0) sends no signal, but it tells
* us whether the process still exists. */