]> git.lttng.org Git - lttng-tools.git/commit
Clean-up: relayd: remove unreachable code
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 Dec 2024 18:36:02 +0000 (18:36 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 28 Jan 2025 19:09:17 +0000 (19:09 +0000)
commitda39078debff3a3891e4427c27ce0fd57153713b
treeb06f6c874dc82ef7390c8214a615fa0277314e93
parentc86dad837122e20e5b4a4c18935be7f335d51d3d
Clean-up: relayd: remove unreachable code

Coverity warns:
1568451 Structurally dead code
Actions intended to be performed by the unreachable code will never occur.

In relay_thread_listener(void *): Code block is unreachable because of the syntactic structure of the code (CWE-561)

Use the appropriate error label to handle the file creation error.

Change-Id: Id4f4eeae287a135d87ec21b14d1eade2afbb1f2c
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/main.cpp
This page took 0.029103 seconds and 4 git commands to generate.