Author: ivan
Date: Thu Aug 11 14:41:29 2016
New Revision: 1755997
URL: http://svn.apache.org/viewvc?rev=1755997&view=rev
Log:
Remove redundant check.
* subversion/libsvn_subr/io.c
(svn_io_remove_file2): Remove check for !apr_err, because we have the same
check few lines below.
Modified:
subversion/trunk/subversion/libsvn_subr/io.c
Modified: subversion/trunk/subversion/libsvn_subr/io.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/io.c?rev=1755997&r1=1755996&r2=1755997&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/io.c (original)
+++ subversion/trunk/subversion/libsvn_subr/io.c Thu Aug 11 14:41:29 2016
@@ -2650,9 +2650,6 @@ svn_io_remove_file2(const char *path,
allow us to delete when path is read-only */
SVN_ERR(svn_io_set_file_read_write(path, ignore_enoent, scratch_pool));
apr_err = apr_file_remove(path_apr, scratch_pool);
-
- if (!apr_err)
- return SVN_NO_ERROR;
}
/* Check to make sure we aren't trying to delete a directory */