diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-03-30 02:09:15 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-03-30 02:09:15 +0200 |
commit | d885ac661b74bb44691c4ac16822e93cf08e11e9 (patch) | |
tree | bd72d8a27e34328eca7fea46c5f7722b71773adb /src/locale-setup.c | |
parent | cb39ed3fdeb102a921e862a23b90607b5242f94e (diff) |
locale: don't access misinitialized variable
Diffstat (limited to 'src/locale-setup.c')
-rw-r--r-- | src/locale-setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale-setup.c b/src/locale-setup.c index e146746dfa..39b877cabe 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); |