auth/credentials_krb5: silence a build warning.
authorGünther Deschner <gd@samba.org>
Thu, 8 May 2014 08:12:01 +0000 (10:12 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 8 Aug 2014 04:02:35 +0000 (06:02 +0200)
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/credentials/credentials_krb5.c

index 05d29b0c984f67e1b366779a9a23da2401decb36..d968e200e77c487ed9ae2b372540619e7cfab84b 100644 (file)
@@ -516,7 +516,9 @@ _PUBLIC_ int cli_credentials_get_client_gss_creds(struct cli_credentials *cred,
        OM_uint32 maj_stat, min_stat;
        struct gssapi_creds_container *gcc;
        struct ccache_container *ccache;
+#ifdef SAMBA4_USES_HEIMDAL
        gss_buffer_desc empty_buffer = GSS_C_EMPTY_BUFFER;
+#endif
        krb5_enctype *etypes = NULL;
 
        if (cred->client_gss_creds_obtained >= cred->client_gss_creds_threshold &&