cleanup: explicitly mark unused parameters (-Wunused-parameter)
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 31 Mar 2021 16:19:05 +0000 (12:19 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 1 Apr 2021 15:03:25 +0000 (11:03 -0400)
commit2208d8b5689264e35ed0a660d8c3c82021cc0367
treeb9c443923f37f414450099bd3b732eb4247aca6f
parentc53279a3e7796da67c5ad8d5e5657bf03def2dcb
cleanup: explicitly mark unused parameters (-Wunused-parameter)

Add the 'unused' attribute to function parameters that are unused to
allow turning on -Wunused-parameter and distinguish unused parameters
that are actual errors.

Change-Id: I5a4b3790ae84da0c5135a214f2a63b513bb199eb
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
62 files changed:
doc/examples/cmake-multiple-shared-libraries/aligner.cpp
doc/examples/cmake-multiple-shared-libraries/tester.cpp
doc/examples/easy-ust/sample.c
doc/examples/gen-tp/sample.c
doc/examples/hello-static-lib/hello.c
include/lttng/ringbuffer-context.h
libcounter/counter-internal.h
libcounter/counter.c
liblttng-ust-comm/lttng-ust-comm.c
liblttng-ust-ctl/ustctl.c
liblttng-ust-cyg-profile/lttng-ust-cyg-profile-fast.c
liblttng-ust-java-agent/jni/common/lttng_ust_context.c
liblttng-ust-java-agent/jni/jul/lttng_ust_jul.c
liblttng-ust-java-agent/jni/log4j/lttng_ust_log4j.c
liblttng-ust-java/LTTngUst.c
liblttng-ust-libc-wrapper/lttng-ust-malloc.c
liblttng-ust/lttng-bytecode-interpreter.c
liblttng-ust/lttng-bytecode-validator.c
liblttng-ust/lttng-bytecode.c
liblttng-ust/lttng-context-cgroup-ns.c
liblttng-ust/lttng-context-cpu-id.c
liblttng-ust/lttng-context-ip.c
liblttng-ust/lttng-context-ipc-ns.c
liblttng-ust/lttng-context-mnt-ns.c
liblttng-ust/lttng-context-net-ns.c
liblttng-ust/lttng-context-perf-counters.c
liblttng-ust/lttng-context-pid-ns.c
liblttng-ust/lttng-context-procname.c
liblttng-ust/lttng-context-pthread-id.c
liblttng-ust/lttng-context-time-ns.c
liblttng-ust/lttng-context-user-ns.c
liblttng-ust/lttng-context-uts-ns.c
liblttng-ust/lttng-context-vegid.c
liblttng-ust/lttng-context-veuid.c
liblttng-ust/lttng-context-vgid.c
liblttng-ust/lttng-context-vpid.c
liblttng-ust/lttng-context-vsgid.c
liblttng-ust/lttng-context-vsuid.c
liblttng-ust/lttng-context-vtid.c
liblttng-ust/lttng-context-vuid.c
liblttng-ust/lttng-events.c
liblttng-ust/lttng-ring-buffer-client-template.h
liblttng-ust/lttng-ring-buffer-metadata-client-template.h
liblttng-ust/lttng-ust-abi.c
liblttng-ust/lttng-ust-statedump.c
liblttng-ust/rculfhash.c
liblttng-ust/rculfhash.h
liblttng-ust/ust-core.c
libringbuffer/backend.h
libringbuffer/backend_internal.h
libringbuffer/frontend.h
libringbuffer/frontend_api.h
libringbuffer/frontend_internal.h
libringbuffer/ring_buffer_backend.c
libringbuffer/ring_buffer_frontend.c
libringbuffer/ringbuffer-config.h
libringbuffer/vatomic.h
tests/benchmark/bench.c
tests/compile/hello.cxx/hello.cpp
tests/compile/hello/hello.c
tests/compile/test-app-ctx/hello.c
tests/unit/libmsgpack/test_msgpack.c
This page took 0.034595 seconds and 4 git commands to generate.