]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/locale/localectl.c
strv: make iterator in STRV_FOREACH() declaread in the loop
[thirdparty/systemd.git] / src / locale / localectl.c
index b5624209dc155fbc952f8e1a76b43655de292e59..661d54c27dd054dd14c15c400b533477037857a2 100644 (file)
@@ -98,8 +98,6 @@ static void print_status_info(StatusInfo *i) {
         if (strv_isempty(i->locale))
                 puts("   System Locale: n/a");
         else {
-                char **j;
-
                 printf("   System Locale: %s\n", i->locale[0]);
                 STRV_FOREACH(j, i->locale + 1)
                         printf("                  %s\n", *j);