X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=lttv%2Fmodules%2Ftext%2FprecomputeState.c;h=572e0b5dfca19049ef15b7f90311465585a50cd3;hb=b22f4f42754d465f62489045f99b1066275ae59b;hp=3314d16ad2f446fb379301923b34a6c564071564;hpb=c7cb53d7585f0e82f031f0f330f71f773c1d95c8;p=lttv.git diff --git a/lttv/modules/text/precomputeState.c b/lttv/modules/text/precomputeState.c index 3314d16a..572e0b5d 100644 --- a/lttv/modules/text/precomputeState.c +++ b/lttv/modules/text/precomputeState.c @@ -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 {