Fix: initialize the cur_event variable before using it
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 17 May 2016 15:52:47 +0000 (11:52 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 May 2016 20:39:12 +0000 (16:39 -0400)
commitef046310954c52e68e3a9f769e11c44696ac8089
treecd1ac8280dae3aeb6b4300d8830496111420a704
parentef4a79b97e84065a8384ab5d628fbf8365cf9bba
Fix: initialize the cur_event variable before using it

CID 1243041 (#1 of 1): Uninitialized scalar variable (UNINIT)
uninit_use_in_call: Using uninitialized element of array *cur_event.name when
calling strcmp.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/commands/list.c
This page took 0.025903 seconds and 4 git commands to generate.