locale-setup: use precise type for locale variable iterator

This commit is contained in:
Lennart Poettering 2018-11-12 12:51:23 +01:00
parent 05e062cb89
commit 6176be15ac
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@
int locale_setup(char ***environment) {
char *variables[_VARIABLE_LC_MAX] = {};
_cleanup_strv_free_ char **add = NULL;
int r = 0, i;
LocaleVariable i;
int r = 0;
if (detect_container() <= 0) {
r = parse_env_file(NULL, "/proc/cmdline", WHITESPACE,