From 905bac92ba1b487e733b989089c649ea3b6cf4dc Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 18 May 2006 02:05:53 +0000 Subject: r15676: Fix meaningless debug statement from uninitialized variable. Spotted by "John E. Malmberg" . Jeremy. (This used to be commit ff3fe39b837e0d0de2edaa284c2dd7d1c8161c46) --- source3/auth/auth_util.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source3/auth') diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 64b707bc1a..f4d32ebdc0 100644 --- a/source3/auth/auth_util.c +++ b/source3/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; } -- cgit