From 6176be15ac02c8988caff0820e865080e866682f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 12 Nov 2018 12:51:23 +0100 Subject: [PATCH] locale-setup: use precise type for locale variable iterator --- src/core/locale-setup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.47.3