diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-06-05 18:28:53 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-10-08 15:52:51 +0200 |
commit | 65344b85d3e07468f9fdb5e4b5009570b60fe2ce (patch) | |
tree | bf2aeee8aeb52dac423c334b4b9563c77aa4ecb3 /4a-hal | |
parent | 8f7107d812359688aa8bf40e86c1abb629730034 (diff) |
Correct a debug warning about a variable
Correct a debug warning about a uninitialized variable.
Change-Id: I94b8a5ba42013dd0ede5706a1646a61d58e7ef73
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal')
-rw-r--r-- | 4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c index 6656ddc..8c4a85f 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c @@ -183,7 +183,7 @@ int HalCtlsCreateApi(afb_dynapi *apiHandle, char *path, struct HalMgrData *HalMg int HalCtlsCreateAllApi(afb_dynapi *apiHandle, struct HalMgrData *HalMgrGlobalData) { - int index, err, status; + int index, err, status = 0; char *dirList, *fileName, *fullPath; char filePath[CONTROL_MAXPATH_LEN]; |