Merge pull request #30567 from yuwata/hashmap_isempty

tree-wide: use hashmap_isempty() and friends
This commit is contained in:
Yu Watanabe
2023-12-22 02:36:19 +09:00
committed by GitHub
14 changed files with 28 additions and 27 deletions
+1 -1
View File
@@ -747,7 +747,7 @@ static int remove_marked_symlinks(
assert(config_path);
assert(lp);
if (set_size(remove_symlinks_to) <= 0)
if (set_isempty(remove_symlinks_to))
return 0;
fd = open(config_path, O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC);