summaryrefslogtreecommitdiff
path: root/src/xdg-autostart-generator
diff options
context:
space:
mode:
Diffstat (limited to 'src/xdg-autostart-generator')
-rw-r--r--src/xdg-autostart-generator/xdg-autostart-generator.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xdg-autostart-generator/xdg-autostart-generator.c b/src/xdg-autostart-generator/xdg-autostart-generator.c
index 53366a31ec..6cec28e622 100644
--- a/src/xdg-autostart-generator/xdg-autostart-generator.c
+++ b/src/xdg-autostart-generator/xdg-autostart-generator.c
@@ -94,7 +94,6 @@ static int enumerate_xdg_autostart(Hashmap *all_services) {
static int run(const char *dest, const char *dest_early, const char *dest_late) {
_cleanup_(hashmap_freep) Hashmap *all_services = NULL;
XdgAutostartService *service;
- Iterator j;
int r;
assert_se(dest_late);
@@ -107,7 +106,7 @@ static int run(const char *dest, const char *dest_early, const char *dest_late)
if (r < 0)
return r;
- HASHMAP_FOREACH(service, all_services, j)
+ HASHMAP_FOREACH(service, all_services)
(void) xdg_autostart_service_generate_unit(service, dest_late);
return 0;