From: Mathieu Desnoyers Date: Sat, 16 Jul 2011 18:40:48 +0000 (-0400) Subject: Cleanup: remove compiler warning X-Git-Tag: v2.0-pre1~17 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1b2e041f36490486ad3e661ed8e95a03c8d1321d;p=lttng-modules.git Cleanup: remove compiler warning Signed-off-by: Mathieu Desnoyers --- diff --git a/ltt-ring-buffer-client.h b/ltt-ring-buffer-client.h index 25152bf3..5173b23b 100644 --- a/ltt-ring-buffer-client.h +++ b/ltt-ring-buffer-client.h @@ -137,6 +137,7 @@ unsigned char record_header_size(const struct lib_ring_buffer_config *config, } break; default: + padding = 0; WARN_ON_ONCE(1); } offset += ctx_get_size(offset, event->ctx);