You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2006/05/24 12:00:08 UTC
svn commit: r409101 - /apr/apr-util/trunk/memcache/apr_memcache.c
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,