mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(is_empty_dir): Don't closedir (NULL).
This commit is contained in:
1 parent
de6a08aca7
commit
be897d7f42
1 file changed
+1
-4
+1
-4
@@ -513,10 +513,7 @@ is_empty_dir (char const *dir)
|
||||
{
|
||||
DIR *dirp = opendir (dir);
|
||||
if (dirp == NULL)
|
||||
{
|
||||
closedir (dirp);
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
|
||||
while (1)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user