stats.c: fix warnings
authorpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 10 Oct 2007 21:49:01 +0000 (21:49 +0000)
committerpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 10 Oct 2007 21:49:01 +0000 (21:49 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2633 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/stats.c

index e34bab22e34f9a618e7202d3d233c01f1204735c..3663cbcef94ca33d32b76576b49037008cbd1ff1 100644 (file)
@@ -1058,9 +1058,6 @@ void lttv_stats_add_event_hooks(LttvTracesetStats *self)
 
   LttvAttributeValue val;
 
-  gint ret;
-  gint hn;
-
   nb_trace = lttv_traceset_number(traceset);
   for(i = 0 ; i < nb_trace ; i++) {
     ts = (LttvTraceStats *)self->parent.parent.traces[i];
@@ -1186,7 +1183,7 @@ void lttv_stats_add_event_hooks(LttvTracesetStats *self)
     lttv_trace_find_hook(ts->parent.parent.t,
         LTT_EVENT_SOFT_IRQ_ENTRY, 
         FIELD_ARRAY(LTT_FIELD_SOFT_IRQ_ID),
-        after_irq_entry, NULL,
+        after_soft_irq_entry, NULL,
         &hooks);
 
     lttv_trace_find_hook(ts->parent.parent.t,
This page took 0.024953 seconds and 4 git commands to generate.