From 2a0340baa35163d04537b0606f58ab77a1d39108 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 24 Jun 2010 15:32:46 +0200 Subject: s3:registry: remove unused function normalize_dbkey() --- source3/registry/reg_util_internal.c | 10 ---------- source3/registry/reg_util_internal.h | 1 - 2 files changed, 11 deletions(-) (limited to 'source3') diff --git a/source3/registry/reg_util_internal.c b/source3/registry/reg_util_internal.c index 4cf8e2886b..47e2ce576f 100644 --- a/source3/registry/reg_util_internal.c +++ b/source3/registry/reg_util_internal.c @@ -120,16 +120,6 @@ char *normalize_reg_path(TALLOC_CTX *ctx, const char *keyname ) return nkeyname; } -/** - * normalize ther registry path in place. - */ -void normalize_dbkey(char *key) -{ - size_t len = strlen(key); - string_sub(key, "\\", "/", len+1); - strupper_m(key); -} - /********************************************************************** move to next non-delimter character *********************************************************************/ diff --git a/source3/registry/reg_util_internal.h b/source3/registry/reg_util_internal.h index 886e58cda1..0cb370e59d 100644 --- a/source3/registry/reg_util_internal.h +++ b/source3/registry/reg_util_internal.h @@ -23,7 +23,6 @@ bool reg_split_path(char *path, char **base, char **new_path); bool reg_split_key(char *path, char **base, char **key); char *normalize_reg_path(TALLOC_CTX *ctx, const char *keyname ); -void normalize_dbkey(char *key); char *reg_remaining_path(TALLOC_CTX *ctx, const char *key); #endif /* _REG_UTIL_H */ -- cgit