Remove warning generated by newer gcc (4.6)
[lttv.git] / lttv / modules / text / precomputeState.c
index 3314d16ad2f446fb379301923b34a6c564071564..572e0b5dfca19049ef15b7f90311465585a50cd3 100644 (file)
@@ -163,8 +163,6 @@ static int for_each_event(void *hook_data, void *call_data)
 
   LttvTracefileState *tfs = (LttvTracefileState *)call_data;
 
-  LttEvent *e;
-
   /* Only save at LTTV_STATE_SAVE_INTERVAL */
   if(likely((*event_count)++ < LTTV_STATE_SAVE_INTERVAL))
     return FALSE;
@@ -173,8 +171,6 @@ static int for_each_event(void *hook_data, void *call_data)
 
   LttvTraceState *ts = (LttvTraceState*)tfc->t_context;
 
-  e = ltt_tracefile_get_event(tfc->tf);
-
   if(a_raw) {
     lttv_state_write_raw(ts, tfs->parent.timestamp, a_file);
   } else {
This page took 0.02374 seconds and 4 git commands to generate.