mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4-auth: Fix picky unused variable warning
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
parent
e9e306b1d5
commit
e0504a80dc
@ -235,7 +235,9 @@ done:
|
||||
{
|
||||
krb5_error_code ret;
|
||||
const char *password;
|
||||
#ifdef SAMBA4_USES_HEIMDAL
|
||||
const char *self_service;
|
||||
#endif
|
||||
const char *target_service;
|
||||
time_t kdc_time = 0;
|
||||
krb5_principal princ;
|
||||
@ -267,7 +269,9 @@ done:
|
||||
return ret;
|
||||
}
|
||||
|
||||
#ifdef SAMBA4_USES_HEIMDAL
|
||||
self_service = cli_credentials_get_self_service(credentials);
|
||||
#endif
|
||||
target_service = cli_credentials_get_target_service(credentials);
|
||||
|
||||
password = cli_credentials_get_password(credentials);
|
||||
|
Loading…
Reference in New Issue
Block a user