8187497: Redundant variable assignment in Java_sun_security_jgss_wrapper_GSSLibStub_getMic
authorigerasim
Sat, 02 Dec 2017 18:37:45 -0800
changeset 48049 fd53d07dade6
parent 48048 f55cdd83e303
child 48050 b1993e334da1
8187497: Redundant variable assignment in Java_sun_security_jgss_wrapper_GSSLibStub_getMic Reviewed-by: wetmore
src/java.security.jgss/share/native/libj2gss/GSSLibStub.c
--- a/src/java.security.jgss/share/native/libj2gss/GSSLibStub.c	Sat Dec 02 10:13:18 2017 -0800
+++ b/src/java.security.jgss/share/native/libj2gss/GSSLibStub.c	Sat Dec 02 18:37:45 2017 -0800
@@ -1410,7 +1410,6 @@
     checkStatus(env, jobj, GSS_S_CONTEXT_EXPIRED, 0, "[GSSLibStub_getMic]");
     return NULL;
   }
-  contextHdl = (gss_ctx_id_t) jlong_to_ptr(pContext);
   qop = (gss_qop_t) jqop;
   initGSSBuffer(env, jmsg, &msg);
   if ((*env)->ExceptionCheck(env)) {