Cleanup: relayd: identical code for different branches
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 1 Oct 2019 13:35:19 +0000 (09:35 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 3 Oct 2019 01:48:47 +0000 (21:48 -0400)
commitd2f324fa7a4bfc29bcc2e7fd80e074768afec53f
tree2de62e5539e930971ea6f9828782186ba00acaf5
parente0d70799c0cf6b04ee5f0a7944118d280526d648
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 <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/stream.c
This page took 0.024238 seconds and 4 git commands to generate.