X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Fmodules%2Ftext%2FprecomputeState.c;h=718dd4c54a847e00382f44eb0310ef2bdd3faded;hb=b9ce0bad7daf7c0a2333c91fdb1e35d602afe17f;hp=3314d16ad2f446fb379301923b34a6c564071564;hpb=c7cb53d7585f0e82f031f0f330f71f773c1d95c8;p=lttv.git diff --git a/lttv/modules/text/precomputeState.c b/lttv/modules/text/precomputeState.c index 3314d16a..718dd4c5 100644 --- a/lttv/modules/text/precomputeState.c +++ b/lttv/modules/text/precomputeState.c @@ -13,8 +13,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, - * MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301, USA. */ /* The text dump facility needs to print headers before the trace set and @@ -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 {