From: Mathieu Desnoyers Date: Mon, 23 May 2011 14:58:06 +0000 (-0400) Subject: Fix extended header bug X-Git-Tag: v2.0-pre1~118 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=679b17d0d97e2e87dd390eb3d0e10c0b1f7f02b5;p=lttng-modules.git Fix extended header bug Signed-off-by: Mathieu Desnoyers --- diff --git a/ltt-ring-buffer-client.h b/ltt-ring-buffer-client.h index 8ba4a735..1c3d014d 100644 --- a/ltt-ring-buffer-client.h +++ b/ltt-ring-buffer-client.h @@ -188,7 +188,6 @@ void ltt_write_event_header_slow(const struct lib_ring_buffer_config *config, lib_ring_buffer_write(config, ctx, &id_time, sizeof(id_time)); } else { uint8_t id = 0; - uint32_t event_id = (uint32_t) event_id; uint64_t timestamp = ctx->tsc; bt_bitfield_write(&id, uint8_t, 0, 5, 31);