From: Jérémie Galarneau Date: Sat, 6 May 2017 18:43:46 +0000 (-0400) Subject: Silence bogus Coverity warning of uninitialized value X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=db315d7532d5b475e2fe1cf4e7b2d850196093fe;hp=db315d7532d5b475e2fe1cf4e7b2d850196093fe 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 ---