diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-11-12 12:51:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-11-14 17:01:54 +0100 |
commit | 6176be15ac02c8988caff0820e865080e866682f (patch) | |
tree | 34673d6604a71fe48773840346d9c5e95605d32f /src | |
parent | 05e062cb89052705442ee43c48979d926fb3fda9 (diff) | |
download | systemd-6176be15ac02c8988caff0820e865080e866682f.tar.gz systemd-6176be15ac02c8988caff0820e865080e866682f.tar.bz2 systemd-6176be15ac02c8988caff0820e865080e866682f.zip |
locale-setup: use precise type for locale variable iterator
Diffstat (limited to 'src')
-rw-r--r-- | src/core/locale-setup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/locale-setup.c b/src/core/locale-setup.c index c123f3906e..a51ff74c8c 100644 --- a/src/core/locale-setup.c +++ b/src/core/locale-setup.c @@ -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, |