git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f65594
)
Remove unused function.
author
Jeremy Allison
<jra@samba.org>
Fri, 14 Oct 2011 21:01:24 +0000
(14:01 -0700)
committer
Jeremy Allison
<jra@samba.org>
Fri, 14 Oct 2011 21:01:24 +0000
(14:01 -0700)
source3/utils/net_registry_check.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_registry_check.c
b/source3/utils/net_registry_check.c
index 9bb7296db541acb0952641ca0dd73dfae132af29..2511f534e6fb0b8bfacc63d7be45fefa4b7181c4 100644
(file)
--- 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);