apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgollu...@apache.org
Subject svn commit: r982736 - /apr/apr/trunk/util-misc/apr_queue.c
Date Thu, 05 Aug 2010 19:17:36 GMT
Author: pgollucci
Date: Thu Aug  5 19:17:36 2010
New Revision: 982736

URL: http://svn.apache.org/viewvc?rev=982736&view=rev
Log:
- remove unused assignment

Reported by:	clang static analyzer


Modified:
    apr/apr/trunk/util-misc/apr_queue.c

Modified: apr/apr/trunk/util-misc/apr_queue.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/util-misc/apr_queue.c?rev=982736&r1=982735&r2=982736&view=diff
==============================================================================
--- apr/apr/trunk/util-misc/apr_queue.c (original)
+++ apr/apr/trunk/util-misc/apr_queue.c Thu Aug  5 19:17:36 2010
@@ -330,7 +330,7 @@ APR_DECLARE(apr_status_t) apr_queue_tryp
     }
 
     if (apr_queue_empty(queue)) {
-        rv = apr_thread_mutex_unlock(queue->one_big_mutex);
+        (void)apr_thread_mutex_unlock(queue->one_big_mutex);
         return APR_EAGAIN;
     } 
 



Mime
View raw message