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 19:16:32 +0000 (15:16 -0400)
commit684d7890cab7ed9cf530546bb22b3364b64538a5
treee6a09749893bf8d266f3cd530dd16df270da752a
parent8b20203296336afe30efd8aa04b6c18427641f9f
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.024735 seconds and 4 git commands to generate.