From: Francis Deslauriers Date: Tue, 1 Oct 2019 13:35:19 +0000 (-0400) Subject: Cleanup: relayd: identical code for different branches X-Git-Tag: v2.12.0-rc1~334 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=d2ec9b88f593043c25370f2998a52d3393d57b63;hp=d2ec9b88f593043c25370f2998a52d3393d57b63;ds=sidebyside Cleanup: relayd: identical code for different branches Coverity report: CID 1404928 (#1 of 1): Identical code for different branches (IDENTICAL_BRANCHES)identical_branches: The same code is executed when the condition ret < 0 is true or false, because the code in the if-then branch and after the if statement is identical. Should the if statement be removed? Reported-by: Coverity (1404928) Identical code for different branches Signed-off-by: Francis Deslauriers Signed-off-by: Jérémie Galarneau ---