From 74f5c944644a9952717d49b7627127ec5d5a62f6 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 22 Feb 2006 20:21:40 +0000 Subject: [PATCH] Don't reset the pid field on process_del(), it's not tested anywhere anyway. --- lib/mainloop.c | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.39.5