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:44 +0000 (16:29 -0500)
commit1a2f00926bff15c976cedc1a6f0ba5f061c9ea98
tree62a2d9b6de902fd8606be5a9493909eafcf314b3
parent1da7b8633e51517a4daf5a0d252595e936084338
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.025155 seconds and 4 git commands to generate.