Author: mturk Date: Tue May 29 09:04:38 2012 New Revision: 1343610 URL: http://svn.apache.org/viewvc?rev=1343610&view=rev Log: Fix compile warning. Since this is void api, using retval is useless
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=1343610&r1=1343609&r2=1343610&view=diff ============================================================================== --- tomcat/native/trunk/native/src/ssl.c (original) +++ tomcat/native/trunk/native/src/ssl.c Tue May 29 09:04:38 2012 @@ -288,13 +288,11 @@ 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