X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fust%2Fust_trace.h;h=11d5940c68bed8ae85d1bb9b1f593fd8df9156d3;hb=fbae86d664c12e450d3cb702b602701d37781b41;hp=cedd47fdf5ab8bec5a5038dee3b6f998bd677a66;hpb=d9d1c081341e1bb1ef8e9346d29d36548afb1346;p=ust.git diff --git a/include/ust/ust_trace.h b/include/ust/ust_trace.h index cedd47f..11d5940 100644 --- a/include/ust/ust_trace.h +++ b/include/ust/ust_trace.h @@ -84,7 +84,7 @@ }; \ static void __attribute__((constructor)) init_##name() \ { \ - void *dummy; \ + void *dummy = NULL; \ register_trace_##name(trace_printf_##name, dummy); \ }