Author: stefan2
Date: Tue May 17 15:15:53 2011
New Revision: 1104319
URL: http://svn.apache.org/viewvc?rev=1104319&view=rev
Log:
* subversion/libsvn_subr/cache-membuffer.c
(membuffer_cache_set_partial): remove a redundant check
Suggested by: danielsh
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=1104319&r1=1104318&r2=1104319&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/cache-membuffer.c (original)
+++ subversion/trunk/subversion/libsvn_subr/cache-membuffer.c Tue May 17
15:15:53 2011
@@ -1413,7 +1413,7 @@ membuffer_cache_set_partial(svn_membuffe
/* if the modification caused a re-allocation, we need to remove
* the old entry and to copy the new data back into cache.
*/
- if (!err && (data != orig_data))
+ if (data != orig_data)
{
/* Remove the old entry and try to make space for the new one.
*/