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, 18 Feb 2020 16:12:14 +0000 (11:12 -0500)
commit0f3eaad4c02e725a7310d94ebdaa858344b9bdbe
treeae992fb32c3f37c928a3403ac5eef2acf54bf111
parent1e543e7c292839b931f808ad341c85f24a859d00
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.02543 seconds and 4 git commands to generate.