From: Martin Mares Date: Wed, 22 Feb 2006 20:21:40 +0000 (+0000) Subject: Don't reset the pid field on process_del(), it's not tested anywhere anyway. X-Git-Tag: holmes-import~674^2~2 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=74f5c944644a9952717d49b7627127ec5d5a62f6;p=libucw.git Don't reset the pid field on process_del(), it's not tested anywhere anyway. --- diff --git a/lib/mainloop.c b/lib/mainloop.c index a318bf2d..99c8c872 100644 --- a/lib/mainloop.c +++ b/lib/mainloop.c @@ -277,7 +277,6 @@ process_del(struct main_process *mp) DBG("MAIN: Deleting process %p (pid=%d)", mp, mp->pid); ASSERT(mp->n.next); clist_remove(&mp->n); - mp->pid = 0; mp->n.next = NULL; }