1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r15676: Fix meaningless debug statement from uninitialized variable.

Spotted by "John E. Malmberg" <wb8tyw@qsl.net>.
Jeremy.
This commit is contained in:
Jeremy Allison 2006-05-18 02:05:53 +00:00 committed by Gerald (Jerry) Carter
parent 256ae3a16b
commit ff3fe39b83

View File

@ -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;
}