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:41:05 +0000 (12:41 -0400)
commita905c62444dc13fa4547d3b86d5d0f3293fa7021
tree5a9c66d3419a605e759a68d000d9b23d45a0c70c
parent900690ca9a448db68aef7115d74e7f585fb322d6
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.032114 seconds and 4 git commands to generate.