clang-tidy: LTTNG_IOCTL_CHECK can use const return variable
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 24 Jul 2024 17:26:52 +0000 (17:26 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 30 Jul 2024 01:26:51 +0000 (01:26 +0000)
commit3d235a437328a2d2e528a657082760dda98b2e43
treeca7132cacf263b4699a1634fc0da8768644d2315
parent3e06faf99109742d88c13732c54da07f21c9a93a
clang-tidy: LTTNG_IOCTL_CHECK can use const return variable

clang-tidy reports:
kernel-ctl/kernel-ctl.cpp:70:9: warning: variable '_ioctl_ret' of type 'int' can be declared 'const' [misc-const-correctness]

Change-Id: I87ca5168eeca6af3e9ec459a1887493df1a51793
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/kernel-ctl/kernel-ctl.cpp
This page took 0.0251 seconds and 4 git commands to generate.