apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r409101 - /apr/apr-util/trunk/memcache/apr_memcache.c
Date Wed, 24 May 2006 10:00:08 GMT
Author: jorton
Date: Wed May 24 03:00:07 2006
New Revision: 409101

URL: http://svn.apache.org/viewvc?rev=409101&view=rev
Log:
* memcache/apr_memcache.c (get_server_line): Remove unreachable code
(found by Coverity).

Modified:
    apr/apr-util/trunk/memcache/apr_memcache.c

Modified: apr/apr-util/trunk/memcache/apr_memcache.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/memcache/apr_memcache.c?rev=409101&r1=409100&r2=409101&view=diff
==============================================================================
--- apr/apr-util/trunk/memcache/apr_memcache.c (original)
+++ apr/apr-util/trunk/memcache/apr_memcache.c Wed May 24 03:00:07 2006
@@ -479,12 +479,7 @@
     conn->blen = bsize;
     conn->buffer[bsize] = '\0';
 
-    apr_brigade_cleanup(conn->tb);
-
-    if (rv != APR_SUCCESS) {
-        return rv;
-    }
-    return rv;
+    return apr_brigade_cleanup(conn->tb);
 }
 
 static apr_status_t storage_cmd_write(apr_memcache_t *mc,



Mime
View raw message