Author: mturk Date: Tue May 29 09:05:40 2012 New Revision: 1343611 URL: http://svn.apache.org/viewvc?rev=1343611&view=rev Log: Fix compile warning. Since this is void api, using retval is useless
Modified: tomcat/native/branches/1.1.x/native/src/ssl.c 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=1343611&r1=1343610&r2=1343611&view=diff ============================================================================== --- tomcat/native/branches/1.1.x/native/src/ssl.c (original) +++ tomcat/native/branches/1.1.x/native/src/ssl.c Tue May 29 09:05:40 2012 @@ -288,13 +288,13 @@ static struct CRYPTO_dynlock_value *ssl_ static void ssl_dyn_lock_function(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line) { - apr_status_t rv; + if (mode & CRYPTO_LOCK) { - rv = apr_thread_mutex_lock(l->mutex); + apr_thread_mutex_lock(l->mutex); } else { - rv = apr_thread_mutex_unlock(l->mutex); + apr_thread_mutex_unlock(l->mutex); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org