]> mj.ucw.cz Git - libucw.git/commitdiff
Don't reset the pid field on process_del(), it's not tested anywhere anyway.
authorMartin Mares <mj@ucw.cz>
Wed, 22 Feb 2006 20:21:40 +0000 (20:21 +0000)
committerMartin Mares <mj@ucw.cz>
Wed, 22 Feb 2006 20:21:40 +0000 (20:21 +0000)
lib/mainloop.c

index a318bf2d7bc9612932e3622f2b89000a2dec5ea6..99c8c872c5734c6069f54a2cfadb15ebb8258dc2 100644 (file)
@@ -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;
 }