summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/locale-root.c2
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;