Cleanup: msg-iter.c: make `create_msg_*()` return msg
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 30 Oct 2019 14:01:12 +0000 (10:01 -0400)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 30 Oct 2019 19:57:14 +0000 (15:57 -0400)
commit308adb47877747920aac896dc03d2b7999101634
treed18bb563141fea25e3893603811d0fadc7ccf722
parent0757916e5e17e126cd57be0f9d7810de37cc01c8
Cleanup: msg-iter.c: make `create_msg_*()` return msg

Those functions have a void return type but are returning the created
message using an output parameter.

Make them return the message instead.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: Iff60a9436818f38d5b5046b921c0d53cdc1f2c66
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2307
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
src/plugins/ctf/common/msg-iter/msg-iter.c
This page took 0.025235 seconds and 4 git commands to generate.