diff options
author | Jeremy Allison <jra@samba.org> | 2006-05-18 02:05:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:17:06 -0500 |
commit | 905bac92ba1b487e733b989089c649ea3b6cf4dc (patch) | |
tree | cbd5de3b3bcd6e679ff7679f3c7cebde938a0550 /source3 | |
parent | a05d9e72615954aa2d4db1df481539ff39c74266 (diff) | |
download | samba-905bac92ba1b487e733b989089c649ea3b6cf4dc.tar.gz samba-905bac92ba1b487e733b989089c649ea3b6cf4dc.tar.bz2 samba-905bac92ba1b487e733b989089c649ea3b6cf4dc.zip |
r15676: Fix meaningless debug statement from uninitialized variable.
Spotted by "John E. Malmberg" <wb8tyw@qsl.net>.
Jeremy.
(This used to be commit ff3fe39b837e0d0de2edaa284c2dd7d1c8161c46)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/auth/auth_util.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |