Skip to content

Commit 2e5c6c0

Browse files
committed
Remove non-miniexpr change
1 parent 8bbf14d commit 2e5c6c0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

blosc/directories.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#include <windows.h>
2222
#include <malloc.h>
2323
#include <io.h>
24-
#include <direct.h> /* <- add this for _rmdir */
2524

2625
int blosc2_remove_dir(const char* dir_path) {
2726
char* path;
@@ -64,11 +63,7 @@
6463
}
6564

6665
/* remove the directory */
67-
if (_rmdir(dir_path) != 0) {
68-
BLOSC_TRACE_ERROR("Could not remove directory %s (errno=%d)", dir_path, errno);
69-
_findclose(file);
70-
return BLOSC2_ERROR_FAILURE;
71-
}
66+
rmdir(dir_path);
7267
_findclose(file);
7368
return BLOSC2_ERROR_SUCCESS;
7469
}

0 commit comments

Comments
 (0)