You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bo...@apache.org on 2008/07/28 01:41:29 UTC
svn commit: r680212 - /apr/apr-util/branches/1.3.x/memcache/apr_memcache.c
Author: bojan
Date: Sun Jul 27 16:41:28 2008
New Revision: 680212
URL: http://svn.apache.org/viewvc?rev=680212&view=rev
Log:
Backport r680209 from the trunk.
Avoid compiler warning of unused mc_conn_destruct().
Modified:
apr/apr-util/branches/1.3.x/memcache/apr_memcache.c
Modified: apr/apr-util/branches/1.3.x/memcache/apr_memcache.c
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.3.x/memcache/apr_memcache.c?rev=680212&r1=680211&r2=680212&view=diff
==============================================================================
--- apr/apr-util/branches/1.3.x/memcache/apr_memcache.c (original)
+++ apr/apr-util/branches/1.3.x/memcache/apr_memcache.c Sun Jul 27 16:41:28 2008
@@ -342,6 +342,7 @@
return rv;
}
+#if APR_HAS_THREADS
static apr_status_t
mc_conn_destruct(void *conn_, void *params, apr_pool_t *pool)
{
@@ -362,6 +363,7 @@
return APR_SUCCESS;
}
+#endif
APU_DECLARE(apr_status_t) apr_memcache_server_create(apr_pool_t *p,
const char *host, apr_port_t port,