mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-26 05:35:21 +07:00
locale: don't access misinitialized variable
This commit is contained in:
parent
cb39ed3fde
commit
d885ac661b
@ -65,7 +65,7 @@ static const char * const variable_names[_VARIABLE_MAX] = {
|
|||||||
|
|
||||||
int locale_setup(void) {
|
int locale_setup(void) {
|
||||||
char *variables[_VARIABLE_MAX];
|
char *variables[_VARIABLE_MAX];
|
||||||
int r, i;
|
int r = 0, i;
|
||||||
|
|
||||||
zero(variables);
|
zero(variables);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user