summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/manager.c b/src/core/manager.c
index d09d14911c..98daa764eb 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -3655,7 +3655,7 @@ static bool generator_path_any(const char* const* paths) {
/* Optimize by skipping the whole process by not creating output directories
* if no generators are found. */
- STRV_FOREACH(path, (char**) paths)
+ STRV_FOREACH(path, paths)
if (access(*path, F_OK) == 0)
found = true;
else if (errno != ENOENT)