subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1075240 - /subversion/trunk/subversion/libsvn_subr/cache-membuffer.c
Date Mon, 28 Feb 2011 08:37:59 GMT
Author: stefan2
Date: Mon Feb 28 08:37:58 2011
New Revision: 1075240

URL: http://svn.apache.org/viewvc?rev=1075240&view=rev
Log:
Follow-up to r1074072 due to ripple effect:
Silence compiler warning caused by unused function.

* subversion/libsvn_subr/cache-membuffer.c
  (membuffer_cache_get_partial): temporarily exclude from compilation

Suggested by: hwright

Modified:
    subversion/trunk/subversion/libsvn_subr/cache-membuffer.c

Modified: subversion/trunk/subversion/libsvn_subr/cache-membuffer.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/cache-membuffer.c?rev=1075240&r1=1075239&r2=1075240&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/cache-membuffer.c (original)
+++ subversion/trunk/subversion/libsvn_subr/cache-membuffer.c Mon Feb 28 08:37:58 2011
@@ -987,6 +987,11 @@ membuffer_cache_get(svn_membuffer_t *cac
   return deserializer(item, buffer, entry->size, pool);
 }
 
+/* get_parial() and is_cachable() will become part of the svn_cache_t
+ * API soon. Disable the code for now to silence compiler warnings. */
+
+#if 0
+
 static svn_error_t *
 membuffer_cache_get_partial(svn_membuffer_t *cache,
                             const void *key,
@@ -1029,6 +1034,8 @@ membuffer_cache_get_partial(svn_membuffe
   return unlock_cache(cache, err);
 }
 
+#endif
+
 /* Implement the svn_cache__t interface on top of a shared membuffer cache.
  *
  * Because membuffer caches tend to be very large, there will be rather few



Mime
View raw message