From: Jérémie Galarneau Date: Wed, 10 Feb 2021 19:04:09 +0000 (-0500) Subject: lttng-ctl: health: remove unreachable condition X-Git-Tag: v2.13.0-rc1~340 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=336a72eb946ce9427c0ae28fdc25a51ae829f728;hp=336a72eb946ce9427c0ae28fdc25a51ae829f728 lttng-ctl: health: remove unreachable condition Coverity reports: 1442789 Logically dead code The indicated dead code may have performed some action; that action will never occur. In lttng_health_create_relayd: Code can never be reached because of a logical contradiction (CWE-561) `path` is already checked for NULL before reaching the lttng_strncpy call. Reported-by: Coverity Scan Signed-off-by: Jérémie Galarneau Change-Id: Ifce95c37a6fe7f914a3bbc5443171c511d3c211a ---