summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-10-14 14:01:24 -0700
committerJeremy Allison <jra@samba.org>2011-10-14 14:01:24 -0700
commit7c663731bad107277a2b13616e70eea8cc681d1c (patch)
treed692fd2f30c88bb6ecf631b737635eed2b73bfc7 /source3
parent7f655945e4c223c45d6b87c7d5d65e54e7fe84de (diff)
downloadsamba-7c663731bad107277a2b13616e70eea8cc681d1c.tar.gz
samba-7c663731bad107277a2b13616e70eea8cc681d1c.tar.bz2
samba-7c663731bad107277a2b13616e70eea8cc681d1c.zip
Remove unused function.
Diffstat (limited to 'source3')
-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);