Author: kkolinko
Date: Wed Jul 2 07:54:11 2014
New Revision: 1607267
URL: http://svn.apache.org/r1607267
Log:
>From https://issues.apache.org/bugzilla/show_bug.cgi?id=55938
Simplify. Thanks to clang report of "Value stored to 'j' is never read".
Modified:
tomcat/native/trunk/native/src/ssl.c
Modified: tomcat/native/trunk/native/src/ssl.c
URL:
http://svn.apache.org/viewvc/tomcat/native/trunk/native/src/ssl.c?rev=1607267&r1=1607266&r2=1607267&view=diff
==============================================================================
--- tomcat/native/trunk/native/src/ssl.c (original)
+++ tomcat/native/trunk/native/src/ssl.c Wed Jul 2 07:54:11 2014
@@ -981,7 +981,7 @@ TCN_IMPLEMENT_CALL(jlong, SSL, newBIO)(T
goto init_failed;
}
j = (BIO_JAVA *)bio->ptr;
- if ((j = (BIO_JAVA *)bio->ptr) == NULL) {
+ if (j == NULL) {
tcn_ThrowException(e, "Create BIO failed");
goto init_failed;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]