diff options
author | Jeremy Allison <jra@samba.org> | 2012-02-17 14:12:40 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-02-18 06:22:40 +0100 |
commit | 21528da9cd12a4f5c3792a482a5d18fe946a6f7a (patch) | |
tree | 4b8c37725dd728e00f25a8b4e2e9b52d7ff7fd5a /source3/librpc/crypto | |
parent | e786e8fef9960aadf1e94c70c0fb7ec18c1ed237 (diff) | |
download | samba-21528da9cd12a4f5c3792a482a5d18fe946a6f7a.tar.gz samba-21528da9cd12a4f5c3792a482a5d18fe946a6f7a.tar.bz2 samba-21528da9cd12a4f5c3792a482a5d18fe946a6f7a.zip |
Fix a bunch of "unused variable" warnings.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Feb 18 06:22:40 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/librpc/crypto')
-rw-r--r-- | source3/librpc/crypto/gse.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c index 1ce3761ae7..9c18443206 100644 --- a/source3/librpc/crypto/gse.c +++ b/source3/librpc/crypto/gse.c @@ -78,7 +78,7 @@ static bool gss_oid_equal(const gss_OID o1, const gss_OID o2) static int gse_context_destructor(void *ptr) { struct gse_context *gse_ctx; - OM_uint32 gss_min, gss_maj; + OM_uint32 gss_min; gse_ctx = talloc_get_type_abort(ptr, struct gse_context); if (gse_ctx->k5ctx) { @@ -94,24 +94,24 @@ static int gse_context_destructor(void *ptr) gse_ctx->k5ctx = NULL; } if (gse_ctx->gssapi_context != GSS_C_NO_CONTEXT) { - gss_maj = gss_delete_sec_context(&gss_min, + (void)gss_delete_sec_context(&gss_min, &gse_ctx->gssapi_context, GSS_C_NO_BUFFER); } if (gse_ctx->server_name) { - gss_maj = gss_release_name(&gss_min, + (void)gss_release_name(&gss_min, &gse_ctx->server_name); } if (gse_ctx->client_name) { - gss_maj = gss_release_name(&gss_min, + (void)gss_release_name(&gss_min, &gse_ctx->client_name); } if (gse_ctx->creds) { - gss_maj = gss_release_cred(&gss_min, + (void)gss_release_cred(&gss_min, &gse_ctx->creds); } if (gse_ctx->delegated_cred_handle) { - gss_maj = gss_release_cred(&gss_min, + (void)gss_release_cred(&gss_min, &gse_ctx->delegated_cred_handle); } |