From 7c663731bad107277a2b13616e70eea8cc681d1c Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 14 Oct 2011 14:01:24 -0700 Subject: Remove unused function. --- source3/utils/net_registry_check.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'source3/utils') 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); -- cgit