Fix: warning 'fd' may be used uninitialized
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 29 Nov 2018 21:49:51 +0000 (16:49 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 21 Jan 2019 21:29:26 +0000 (16:29 -0500)
commit2fc93c34017b03b792f48f913e117a833ef4a34f
tree7308a25c401ef0dd86a0bc74cb6a634ef3df1e73
parent3eb7b04e0c3d422a18fc5ef8e61948f0fdc5e1e3
Fix: warning 'fd' may be used uninitialized

Initialize fd to invalid '-1' and remove unnecessary file_opened.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/save.c
This page took 0.025777 seconds and 4 git commands to generate.