From 65344b85d3e07468f9fdb5e4b5009570b60fe2ce Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Tue, 5 Jun 2018 18:28:53 +0200 Subject: Correct a debug warning about a variable Correct a debug warning about a uninitialized variable. Change-Id: I94b8a5ba42013dd0ede5706a1646a61d58e7ef73 Signed-off-by: Jonathan Aillet --- 4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '4a-hal/4a-hal-controllers') 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]; -- cgit 1.2.3-korg