Fix: lttng-events.c: variable may be used uninitialized
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 4 Feb 2020 21:05:30 +0000 (16:05 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 25 Feb 2020 15:29:34 +0000 (10:29 -0500)
commitae457be2b1c81f72e8eef057203d67089ab96372
tree0c119631adfa784cdeaecf7981f4373a2ac39533
parent32734926b793f98d0a52b2a97bc5058d08682a83
Fix: lttng-events.c: variable may be used uninitialized

Fixes the following warning:
/home/frdeso/projets/lttng/modules/lttng-events.c: In function ‘print_metadata_escaped_field’:
/home/frdeso/projets/lttng/modules/lttng-events.c:2563:5: error: ‘ret’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     if (ret)
           ^

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: If2db5e1ad9782fb49d6d07026976d3d22f89f2ab
lttng-events.c
This page took 0.026002 seconds and 4 git commands to generate.