Warning fix: possible use of uninitialized variable
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 4 Apr 2016 16:41:05 +0000 (12:41 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 4 Apr 2016 16:58:56 +0000 (12:58 -0400)
commit55b4b79c31952d026d99a83a8b3b6cb2e39e8488
treec24837099dfed78bb69f3876bf2cafa95dfa4c07
parent7625ba9ff00c8681c1fe245f079d322eb6e6dcf2
Warning fix: possible use of uninitialized variable

GCC reports that discarded_events and lost_packets may be used
uninitialized. Assert that both pointers are not NULL to
silence the warning.

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