summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-28 13:14:22 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-28 10:43:26 +0200
commitecc0177f2cffa41892cbe85ec21d76c4c4ae0854 (patch)
tree5b563d60eee586cf4751668ff6376c1ae5212c31 /source3/smbd
parentdd7d655b8333190af4e8683376ce91eff2b35128 (diff)
downloadsamba-ecc0177f2cffa41892cbe85ec21d76c4c4ae0854.tar.gz
samba-ecc0177f2cffa41892cbe85ec21d76c4c4ae0854.tar.bz2
samba-ecc0177f2cffa41892cbe85ec21d76c4c4ae0854.zip
s3-smbd Remove set but unused variables
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jun 28 10:43:26 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/mangle_hash.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/smbd/mangle_hash.c b/source3/smbd/mangle_hash.c
index c196a13ed0..a51ea6b208 100644
--- a/source3/smbd/mangle_hash.c
+++ b/source3/smbd/mangle_hash.c
@@ -333,9 +333,6 @@ static bool is_8_3(const char *fname, bool check_case, bool allow_wildcards,
smb_ucs2_t *ucs2name;
NTSTATUS ret = NT_STATUS_UNSUCCESSFUL;
size_t size;
- char magic_char;
-
- magic_char = lp_magicchar(p);
if (!fname || !*fname)
return False;
@@ -534,9 +531,6 @@ static bool lookup_name_from_8_3(TALLOC_CTX *ctx,
TDB_DATA data_val;
char *saved_ext = NULL;
char *s = talloc_strdup(ctx, in);
- char magic_char;
-
- magic_char = lp_magicchar(p);
/* If the cache isn't initialized, give up. */
if(!s || !tdb_mangled_cache ) {
@@ -684,9 +678,6 @@ static bool must_mangle(const char *name,
smb_ucs2_t *name_ucs2 = NULL;
NTSTATUS status;
size_t converted_size;
- char magic_char;
-
- magic_char = lp_magicchar(p);
if (!push_ucs2_talloc(NULL, &name_ucs2, name, &converted_size)) {
DEBUG(0, ("push_ucs2_talloc failed!\n"));