Clean-up: remove extraneous "found" parameters in ust-elf
authorAntoine Busque <abusque@efficios.com>
Mon, 21 Sep 2015 18:19:43 +0000 (14:19 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 21 Sep 2015 18:27:46 +0000 (14:27 -0400)
commit82ee1ee4a147de031957bfcb8a1908b926bac603
tree8e679e86769d7f9b4faca681b60b22aaac158cd1
parent2657d1baecb6b33ead9c9caa7c8ec5bf423d1fde
Clean-up: remove extraneous "found" parameters in ust-elf

In lttng-ust-elf.c, static functions used to extract build ID or debug
link information had an extraneous `found` parameter, carrying no more
information than could be obtained by checking the other out
parameters against NULL. The resulting simplified logic should also
prevent static analysis tools from misidentifying resource leaks.

Signed-off-by: Antoine Busque <abusque@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-elf.c
This page took 0.026742 seconds and 4 git commands to generate.