mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +00:00
libgssapi: Remove set but unused variable.
Reported by: GCC
This commit is contained in:
parent
7756232199
commit
2e2a1c8ecf
|
@ -41,7 +41,6 @@ gss_delete_sec_context(OM_uint32 *minor_status,
|
|||
gss_ctx_id_t *context_handle,
|
||||
gss_buffer_t output_token)
|
||||
{
|
||||
OM_uint32 major_status;
|
||||
struct _gss_context *ctx = (struct _gss_context *) *context_handle;
|
||||
|
||||
if (output_token)
|
||||
|
@ -54,7 +53,7 @@ gss_delete_sec_context(OM_uint32 *minor_status,
|
|||
* otherwise fake an empty token.
|
||||
*/
|
||||
if (ctx->gc_ctx) {
|
||||
major_status = ctx->gc_mech->gm_delete_sec_context(
|
||||
(void) ctx->gc_mech->gm_delete_sec_context(
|
||||
minor_status, &ctx->gc_ctx, output_token);
|
||||
}
|
||||
free(ctx);
|
||||
|
|
Loading…
Reference in a new issue