diff options
author | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-07-05 10:21:31 +0200 |
---|---|---|
committer | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-07-05 10:22:37 +0200 |
commit | 65bbbd793955336bad0fe80e48f952a2a9a5e6bf (patch) | |
tree | cb25b3f32373e0139b8f37b9ffd131ea6c7fc136 | |
parent | 425458b99b65ada911c21ba1896a5733541e5170 (diff) |
locale-root: fixed uninitialized variable
This has become an error since a gcc update
Change-Id: Ib49bd8c46091efdfe9483bb29a023a4e97c8db2f
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
-rw-r--r-- | src/locale-root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale-root.c b/src/locale-root.c index 1d255bf3..40cd050c 100644 --- a/src/locale-root.c +++ b/src/locale-root.c @@ -157,7 +157,7 @@ static struct locale_folder *search_folder(struct locale_container *container, c */ static int init_container(struct locale_container *container, int dirfd) { - int rc, sfd; + int rc = 0, sfd; DIR *dir; struct dirent *dent; struct stat st; |