]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/xdg-autostart-generator/xdg-autostart-generator.c
strv: make iterator in STRV_FOREACH() declaread in the loop
[thirdparty/systemd.git] / src / xdg-autostart-generator / xdg-autostart-generator.c
index 8bc16831e730839814a139c4464ca5d47a22853a..91dda27d43f3b398dfa485d8c3a9ce9ab36fd0b7 100644 (file)
@@ -24,7 +24,6 @@ static int enumerate_xdg_autostart(Hashmap *all_services) {
         _cleanup_strv_free_ char **config_dirs = NULL;
         _unused_ _cleanup_strv_free_ char **data_dirs = NULL;
         _cleanup_free_ char *user_config_autostart_dir = NULL;
-        char **path;
         int r;
 
         r = xdg_user_config_dir(&user_config_autostart_dir, "/autostart");