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>
Thu, 19 May 2016 05:38:34 +0000 (01:38 -0400)
commit88fd93b50fd3e65f0e43d4eeac5ef9f22903248e
treed448f49c499583b025a0b71d8df5f4c0a8b3b420
parentbf181b054ec18078ba71aaf198b51539aba2d0c2
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.026288 seconds and 4 git commands to generate.