X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-so.c;fp=src%2Fafb-api-so.c;h=9d8d9c07d102ef7e218697eb531ebc04ddb59a06;hb=d0b0b6fe77b8ea06bac2830baa9008eefe1917ba;hp=9744bae2eb8393ac8895fa90cb5a20e183d3d424;hpb=0f1a3e89464a77d398ce89bf25abd7ea660c4b34;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-so.c b/src/afb-api-so.c index 9744bae2..9d8d9c07 100644 --- a/src/afb-api-so.c +++ b/src/afb-api-so.c @@ -86,7 +86,7 @@ static int adddirs(char path[PATH_MAX], size_t end, struct afb_apiset *apiset, i DIR *dir; struct dirent *dent; size_t len; - int rc; + int rc=0; /* open the DIR now */ dir = opendir(path);