db/update/InotifyUpdate: pass path by value to recursive_watch_subdirectories()

This commit is contained in:
Max Kellermann 2020-09-17 14:18:28 +02:00
parent e113ce9621
commit 4c1cfca95b
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ SkipFilename(Path name) noexcept
static void
recursive_watch_subdirectories(WatchDirectory &parent,
const AllocatedPath &path_fs,
const Path path_fs,
unsigned depth)
try {
assert(depth <= inotify_max_depth);