Cleanup: flt.lttng-utils.debug-info: Dead assignment
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 15 Oct 2019 19:01:14 +0000 (15:01 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 30 Oct 2019 19:14:52 +0000 (15:14 -0400)
commit105ce232213d635db992de286a751b6f21f54aa9
treee62de58f8402ca0fdd3056cb4daab888b7886062
parent978b18de74be0b63ec896cca09ff5a8ab61ea156
Cleanup: flt.lttng-utils.debug-info: Dead assignment

Since the `event_get_payload_build_id_length()` and
`event_get_payload_build_id_value()` functions, can't fail, make them
return void.

Scan-build report:
  Value stored to 'ret' is never read

Reported-by: Scan-Build - Dead assignment
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: I950d0d327c19578d9b715e67417afd05f2ac2645
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2201
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
src/plugins/lttng-utils/debug-info/debug-info.c
This page took 0.0241209999999999 seconds and 4 git commands to generate.