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:39:01 UTC

svn commit: r680209 - /apr/apr-util/trunk/memcache/apr_memcache.c

Author: bojan
Date: Sun Jul 27 16:39:00 2008
New Revision: 680209

URL: http://svn.apache.org/viewvc?rev=680209&view=rev
Log:
Avoid compiler warning of unused mc_conn_destruct().

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=680209&r1=680208&r2=680209&view=diff
==============================================================================
--- apr/apr-util/trunk/memcache/apr_memcache.c (original)
+++ apr/apr-util/trunk/memcache/apr_memcache.c Sun Jul 27 16:39:00 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)
 {
@@ -364,6 +365,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,