lttng team mailing list archive
-
lttng team
-
Mailing list archive
-
Message #01006
[Merge] lp:~marcustomlinson/lttng-ust/missing_initialiser_warning_fix into lp:lttng-ust
Marcus Tomlinson has proposed merging lp:~marcustomlinson/lttng-ust/missing_initialiser_warning_fix into lp:lttng-ust.
Commit message:
Added {} initialiser for 'padding' value in tracepoint struct instantiation in order to eradicate "missing initialiser" compiler warning.
Requested reviews:
Ubuntu LTTng (lttng)
For more details, see:
https://code.launchpad.net/~marcustomlinson/lttng-ust/missing_initialiser_warning_fix/+merge/193073
--
https://code.launchpad.net/~marcustomlinson/lttng-ust/missing_initialiser_warning_fix/+merge/193073
Your team Ubuntu LTTng is requested to review the proposed merge of lp:~marcustomlinson/lttng-ust/missing_initialiser_warning_fix into lp:lttng-ust.
=== modified file 'include/lttng/tracepoint.h'
--- include/lttng/tracepoint.h 2013-07-10 13:09:21 +0000
+++ include/lttng/tracepoint.h 2013-10-29 15:24:57 +0000
@@ -352,6 +352,7 @@
NULL, \
_TRACEPOINT_UNDEFINED_REF(_provider), \
_TP_EXTRACT_STRING(_args), \
+ {} \
}; \
static struct tracepoint * __tracepoint_ptr_##_provider##___##_name \
__attribute__((used, section("__tracepoints_ptrs"))) = \
Follow ups