sink.ctf.fs: remove unreachable error cases
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 10 Aug 2020 15:02:18 +0000 (11:02 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 11 Aug 2020 19:48:03 +0000 (15:48 -0400)
commit6648e8481c9bfc91619aed26b0ea41b5b508988e
treef9299693fede8749fece17c98530d2ef8f47e6ab
parent5288c8aef93013b72a48cec6851a00b0c91f09dc
sink.ctf.fs: remove unreachable error cases

Just before this switch, we already check if `next_status` is negative
and bail out.  It's therefore not possible for the `ERROR` and
`MEMORY_ERROR` cases to be reached.

Change-Id: I6afa4d2f57e0b3574bbbef0e60c6dc5ebb746fb3
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/3906
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
src/plugins/ctf/fs-sink/fs-sink.c
This page took 0.026137 seconds and 4 git commands to generate.