X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fshared%2Fdropin.c;h=6c614b5c0a4851157b7c1f9606182533bf6e7a26;hb=90e74a66e663f1776457d599cb7d5ce44785a56c;hp=932da0c8531eb5fb0e949b361ad6f4977da4ebb5;hpb=12375b95ddcb7dbbcbc5969b87822d39115d8acf;p=thirdparty%2Fsystemd.git diff --git a/src/shared/dropin.c b/src/shared/dropin.c index 932da0c8531..6c614b5c0a4 100644 --- a/src/shared/dropin.c +++ b/src/shared/dropin.c @@ -233,7 +233,6 @@ int unit_file_find_dropin_paths( _cleanup_strv_free_ char **dirs = NULL; const char *n; char **p; - Iterator i; int r; assert(ret); @@ -242,7 +241,7 @@ int unit_file_find_dropin_paths( STRV_FOREACH(p, lookup_path) (void) unit_file_find_dirs(original_root, unit_path_cache, *p, name, dir_suffix, &dirs); - SET_FOREACH(n, aliases, i) + SET_FOREACH(n, aliases) STRV_FOREACH(p, lookup_path) (void) unit_file_find_dirs(original_root, unit_path_cache, *p, n, dir_suffix, &dirs);