aboutsummaryrefslogtreecommitdiff
path: root/handle_event.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-04-06 19:59:20 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:38:01 +0200
commit44965c7a1d3106439b20e8f36307f506df3df44b (patch)
tree3765dca231d8b2d02d7348bae1de6f554de01b9c /handle_event.c
parentcf1679a93919e9a161f7f37be93ba2821315a853 (diff)
downloadltrace-44965c7a1d3106439b20e8f36307f506df3df44b.tar.gz
Hide unused add_process
- the one outstanding use was a bug, clone_process already adds the process by the way of process_bare_init
Diffstat (limited to 'handle_event.c')
-rw-r--r--handle_event.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/handle_event.c b/handle_event.c
index dcb4c81..7415288 100644
--- a/handle_event.c
+++ b/handle_event.c
@@ -283,7 +283,6 @@ handle_clone(Event *event)
} else {
proc->state = STATE_BEING_CREATED;
}
- add_process(proc);
if (event->type == EVENT_VFORK)
continue_after_vfork(proc);