X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Fust%2Fust_trace.h;h=11d5940c68bed8ae85d1bb9b1f593fd8df9156d3;hb=e2b465757cadd72353b3ce4ae2b9402d66750e3b;hp=cedd47fdf5ab8bec5a5038dee3b6f998bd677a66;hpb=58a0db739ef3fb7dec9d61bb9d47e33f873c97b8;p=lttng-ust.git diff --git a/include/ust/ust_trace.h b/include/ust/ust_trace.h index cedd47fd..11d5940c 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); \ }