X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fcompile%2Fhello.cxx%2Fhello.cpp;h=afbcf4694783aaa6f19567bd6854b383b80b2d92;hb=aedbc21085b8b81ad9baf2f244062e0c411f2521;hp=bd40323ef37647140c29bf492932de321c260fd2;hpb=4b4a133740c87d9a851023a7aeb06b78d887e51b;p=lttng-ust.git diff --git a/tests/compile/hello.cxx/hello.cpp b/tests/compile/hello.cxx/hello.cpp index bd40323e..afbcf469 100644 --- a/tests/compile/hello.cxx/hello.cpp +++ b/tests/compile/hello.cxx/hello.cpp @@ -21,7 +21,7 @@ #include "ust_tests_hello.h" static -void inthandler(int sig) +void inthandler(int sig __attribute__((unused))) { printf("in SIGUSR1 handler\n"); tracepoint(ust_tests_hello, tptest_sighandler);