summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-14 12:59:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:16 -0500
commit2ce73cb6db4290f38c45f788735203272ed20d85 (patch)
treeee6911d312f17693342d313c6f6053e8aa8ae9a7
parentadd7ba54c1cbf0c2d3d6ef3230903a08522e8c33 (diff)
downloadsamba-2ce73cb6db4290f38c45f788735203272ed20d85.tar.gz
samba-2ce73cb6db4290f38c45f788735203272ed20d85.tar.bz2
samba-2ce73cb6db4290f38c45f788735203272ed20d85.zip
r14373: remove unreached wrong code, found by sparse
metze (This used to be commit dd485aa9600dd24c8b10c140974df9313f8ff2e8)
-rw-r--r--source4/dsdb/samdb/ldb_modules/kludge_acl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/kludge_acl.c b/source4/dsdb/samdb/ldb_modules/kludge_acl.c
index 24866a9e45..6b5bd3d296 100644
--- a/source4/dsdb/samdb/ldb_modules/kludge_acl.c
+++ b/source4/dsdb/samdb/ldb_modules/kludge_acl.c
@@ -91,7 +91,6 @@ static const char *user_name(TALLOC_CTX *mem_ctx, struct ldb_module *module)
return talloc_asprintf(mem_ctx, "%s\\%s",
session_info->server_info->domain_name,
session_info->server_info->account_name);
- return ANONYMOUS;
}
/* search */