mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
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
This commit is contained in:
parent
dd7d655b83
commit
ecc0177f2c
@ -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"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user