Silence bogus Coverity warning of uninitialized value
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 6 May 2017 18:43:46 +0000 (14:43 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 6 May 2017 19:55:05 +0000 (15:55 -0400)
commitb137f8756b6a89c9bdd1bc35f5f03332cbb395c2
tree898f915510359701e0223e98db3f22a08f8b3ff9
parent7955af2dca5ddbcce6fa2afa6be862318ba46b44
Silence bogus Coverity warning of uninitialized value

Coverity complains that struct lttng_evaluation_comm's payload
field is not initialized. "payload" is a flexible array
member which should be ignored. Normally, a such a member
_could_ result in additional padding added at the end of the
structure. In this case, the structure is declared as packed.

Nonetheless, using a designated initializer gets rid of the
ambiguity and silences Coverity.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/evaluation.c
This page took 0.025891 seconds and 4 git commands to generate.