From: Lennart Poettering Date: Mon, 12 Nov 2018 11:51:23 +0000 (+0100) Subject: locale-setup: use precise type for locale variable iterator X-Git-Tag: v240~320^2~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6176be15ac02c8988caff0820e865080e866682f;p=thirdparty%2Fsystemd.git locale-setup: use precise type for locale variable iterator --- diff --git a/src/core/locale-setup.c b/src/core/locale-setup.c index c123f3906e4..a51ff74c8c5 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,