tree-wide: use hashmap_isempty() and friends

This commit is contained in:
Yu Watanabe
2023-12-22 01:27:09 +09:00
parent a6076499db
commit 43127aebc7
13 changed files with 26 additions and 25 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);