From 370231d773499c6dc367b96172557715427cb6d4 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 10 Oct 2007 19:19:09 +0000 Subject: [PATCH] update error in state.c git-svn-id: http://ltt.polymtl.ca/svn@2631 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/lttv/state.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ltt/branches/poly/lttv/lttv/state.c b/ltt/branches/poly/lttv/lttv/state.c index 9c223da0..eda3bf02 100644 --- a/ltt/branches/poly/lttv/lttv/state.c +++ b/ltt/branches/poly/lttv/lttv/state.c @@ -3025,9 +3025,6 @@ void lttv_state_add_event_hooks(LttvTracesetState *self) LttvAttributeValue val; - gint ret; - gint hn; - nb_trace = lttv_traceset_number(traceset); for(i = 0 ; i < nb_trace ; i++) { ts = (LttvTraceState *)self->parent.traces[i]; @@ -3093,7 +3090,7 @@ void lttv_state_add_event_hooks(LttvTracesetState *self) lttv_trace_find_hook(ts->parent.t, LTT_EVENT_KTHREAD_CREATE, - FIELD_ARRAY(LTT_FIELD_PID) + FIELD_ARRAY(LTT_FIELD_PID), process_kernel_thread, NULL, &hooks); lttv_trace_find_hook(ts->parent.t, -- 2.34.1