Author: kkolinko Date: Wed Jul 2 07:55:56 2014 New Revision: 1607271 URL: http://svn.apache.org/r1607271 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". Merged r1607267 from tomcat/native/trunk.
Modified: tomcat/native/branches/1.1.x/ (props changed) tomcat/native/branches/1.1.x/native/src/ssl.c Propchange: tomcat/native/branches/1.1.x/ ------------------------------------------------------------------------------ Merged /tomcat/native/trunk:r1607267 Modified: tomcat/native/branches/1.1.x/native/src/ssl.c URL: http://svn.apache.org/viewvc/tomcat/native/branches/1.1.x/native/src/ssl.c?rev=1607271&r1=1607270&r2=1607271&view=diff ============================================================================== --- tomcat/native/branches/1.1.x/native/src/ssl.c (original) +++ tomcat/native/branches/1.1.x/native/src/ssl.c Wed Jul 2 07:55:56 2014 @@ -994,7 +994,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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org