mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
winbind_krb5_localauth: Fix a compiler warning
This can't used uninitialized but some compiler complains about it. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Sat Jul 7 16:24:30 CEST 2018 on sn-devel-144
This commit is contained in:
committed by
Ralph Boehme
parent
0a91ade527
commit
e8b7aecf46
@ -84,8 +84,8 @@ static krb5_error_code winbind_userok(krb5_context context,
|
||||
krb5_error_code code = 0;
|
||||
char *princ_str = NULL;
|
||||
struct passwd *pwd = NULL;
|
||||
uid_t princ_uid;
|
||||
uid_t lname_uid;
|
||||
uid_t princ_uid = (uid_t)-1;
|
||||
uid_t lname_uid = (uid_t)-1;
|
||||
wbcErr wbc_status;
|
||||
int cmp;
|
||||
|
||||
|
Reference in New Issue
Block a user