summaryrefslogtreecommitdiffstats
path: root/source/auth
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-05-18 02:05:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:06 -0500
commitff3fe39b837e0d0de2edaa284c2dd7d1c8161c46 (patch)
treeb8ea9975d47490a677a92ec1e6ff4daebb759f39 /source/auth
parent256ae3a16bcafe70cc1a00496681c709380e4fc3 (diff)
downloadsamba-ff3fe39b837e0d0de2edaa284c2dd7d1c8161c46.tar.gz
samba-ff3fe39b837e0d0de2edaa284c2dd7d1c8161c46.tar.xz
samba-ff3fe39b837e0d0de2edaa284c2dd7d1c8161c46.zip
r15676: Fix meaningless debug statement from uninitialized variable.
Spotted by "John E. Malmberg" <wb8tyw@qsl.net>. Jeremy.
Diffstat (limited to 'source/auth')
-rw-r--r--source/auth/auth_util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c
index 64b707bc1ad..f4d32ebdc0c 100644
--- a/source/auth/auth_util.c
+++ b/source/auth/auth_util.c
@@ -1198,7 +1198,6 @@ BOOL user_in_group(const char *username, const char *groupname)
{
TALLOC_CTX *mem_ctx;
DOM_SID group_sid;
- NTSTATUS status;
BOOL ret;
mem_ctx = talloc_new(NULL);
@@ -1212,8 +1211,7 @@ BOOL user_in_group(const char *username, const char *groupname)
TALLOC_FREE(mem_ctx);
if (!ret) {
- DEBUG(10, ("lookup_name(%s) failed: %s\n", groupname,
- nt_errstr(status)));
+ DEBUG(10, ("lookup_name for (%s) failed.\n", groupname));
return False;
}