src.ctf.fs: remove goto error handling from fs.cpp
gotos prevent declaring variables in the middle of functions, which is
sometimes necessary in C++. Remove gotos used for error handling,
replace them with returning directly.
Change-Id: I15b5d6aa4897e5326fc03e2626045c83258d8eca
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/8318
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12339
Tested-by: jenkins <jenkins@lttng.org>
This page took 0.024491 seconds and 4 git commands to generate.