app/eventdev: clean LTO warnings
authorAndrzej Ostruszka <aostruszka@marvell.com>
Thu, 7 Nov 2019 15:03:11 +0000 (16:03 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 8 Nov 2019 14:18:05 +0000 (15:18 +0100)
commit99c25664149b9fe4b0d66e6897ab803552e649fb
tree3585cefea2a0489114cade54847027b6b6dc031e
parent57e20572ac67a55874a206ef7339443b0950705d
app/eventdev: clean LTO warnings

During LTO build compiler reports some 'false positive' warnings about
variables being possibly used uninitialized.  This patch silences these
warnings.

Exemplary compiler warning to suppress (with LTO enabled):
error: ‘service_id’ may be used uninitialized in this function
[-Werror=maybe-uninitialized]
    ret = evt_service_setup(service_id);

Signed-off-by: Andrzej Ostruszka <aostruszka@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
app/test-eventdev/test_perf_common.c
app/test-eventdev/test_pipeline_common.c