From d885ac661b74bb44691c4ac16822e93cf08e11e9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 30 Mar 2011 02:09:15 +0200 Subject: [PATCH] locale: don't access misinitialized variable --- src/locale-setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locale-setup.c b/src/locale-setup.c index e146746d..39b877ca 100644 --- a/src/locale-setup.c +++ b/src/locale-setup.c @@ -65,7 +65,7 @@ static const char * const variable_names[_VARIABLE_MAX] = { int locale_setup(void) { char *variables[_VARIABLE_MAX]; - int r, i; + int r = 0, i; zero(variables); -- 2.39.5