aboutsummaryrefslogtreecommitdiff
path: root/lib/cleanpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cleanpath.c')
-rw-r--r--lib/cleanpath.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/cleanpath.c b/lib/cleanpath.c
index c3a7e81..fde9e6d 100644
--- a/lib/cleanpath.c
+++ b/lib/cleanpath.c
@@ -80,8 +80,6 @@ void cleanpath_filter(struct CleanPath *path, unsigned mode, const char *pattern
}
match = regexec(&regex, path->part[i], 0, NULL, 0) == 0 ? 1 : 0;
regfree(&regex);
-#else
- fprintf(stderr, "WARNING: --regex|-r is not implemented on Windows. Using default filter mode.\n");
#endif
break;
case CLEANPATH_FILTER_EXACT: