evmgr: Fix a "maybe uninitialized" issue 67/20867/1
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 2 Apr 2019 07:48:50 +0000 (09:48 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 2 Apr 2019 07:53:18 +0000 (09:53 +0200)
commit8214e88a036ca06a9a2ba2348e99df4de8bb8940
treece9488dd34a4d7c21741c66aa43b8f48b8bc94eb
parent84f4aec41817417a3b94d91da1b9b2fba9711e40
evmgr: Fix a "maybe uninitialized" issue

The warning maybe-uninitialized is emited only
when the optimisation level is greater than 0.
For this reason, the error was not discovered
development process. The build config is tuned
to detect that error and the error is fixed.

Change-Id: I14c8ffe6daa3d498268cfadeab20300895b3360e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
CMakeLists.txt
src/evmgr.c