ctf: silence bogus warning in set_field_refs()
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 11 Sep 2019 14:57:15 +0000 (10:57 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 17 Sep 2019 19:26:07 +0000 (15:26 -0400)
gcc 9.1.0 warns that struct_fc my be used uninitialized. The code
flow doesn't allow this to happen, but this warning is annoying/scary
and easily fixed by initializing struct_fc to NULL.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ib4c702dfc0ca4a29e387b384a1603bdf4634c599
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2028
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>

No differences found
This page took 0.023843 seconds and 4 git commands to generate.