summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_registry_check.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/utils/net_registry_check.c b/source3/utils/net_registry_check.c
index 9bb7296db5..2511f534e6 100644
--- a/source3/utils/net_registry_check.c
+++ b/source3/utils/net_registry_check.c
@@ -253,24 +253,6 @@ static void remove_all(char *str, char c)
*out = '\0';
}
-static void remove_runs(char *str, char c)
-{
- char *out=str;
- while (*str) {
- *out = *str;
- if (*str == c) {
- while (*str == c) {
- str++;
- }
- } else {
- str++;
- }
- out++;
- }
- *out = '\0';
-}
-
-
static char* parent_path(const char *path, char sep)
{
const char *p = strrchr(path, sep);