You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2014/07/02 09:55:57 UTC
svn commit: r1607271 - in /tomcat/native/branches/1.1.x: ./ native/src/ssl.c
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org