Silence warnings on GCC 4.8 with -Wmaybe-uninitialized
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 14 Jun 2021 15:18:19 +0000 (11:18 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Jul 2021 21:31:33 +0000 (17:31 -0400)
commitfb4b76d0ecf5d09a2a21344b50a4e0700ae22e3b
treefd603782efcd64f1f78b949b943abb2efd7068d8
parent5f8555694e2737b477727fbf8521cc49e9ebff7a
Silence warnings on GCC 4.8 with -Wmaybe-uninitialized

We still build on SLES12 with GCC 4.8 in which '-Wmaybe-uninitialized'
doesn't seem to be the sharpest tool in the shed. Add explicit
initialization of 'ret' to silence the warnings.

Change-Id: I1f9de535b6be48357735af106ff555ab9eceb730
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/action-executor.c
This page took 0.02692 seconds and 5 git commands to generate.