Author: stsp
Date: Wed Nov 27 15:03:52 2013
New Revision: 1546059

URL: http://svn.apache.org/r1546059
Log:
On the verify-keep-going branch, remove redundant code.

* subversion/libsvn_repos/dump.c
  (notify_verification_error, notify_verification_summary): These functions
   are only called if notify_func is not NULL, so they don't need to verify
   this argument.

Modified:
    subversion/branches/verify-keep-going/subversion/libsvn_repos/dump.c

Modified: subversion/branches/verify-keep-going/subversion/libsvn_repos/dump.c
URL: 
http://svn.apache.org/viewvc/subversion/branches/verify-keep-going/subversion/libsvn_repos/dump.c?rev=1546059&r1=1546058&r2=1546059&view=diff
==============================================================================
--- subversion/branches/verify-keep-going/subversion/libsvn_repos/dump.c 
(original)
+++ subversion/branches/verify-keep-going/subversion/libsvn_repos/dump.c Wed 
Nov 27 15:03:52 2013
@@ -2031,9 +2031,6 @@ notify_verification_error(svn_revnum_t r
 {
   svn_repos_notify_t *notify_failure;
 
-  if (notify_func == NULL)
-    return;
-
   notify_failure = svn_repos_notify_create(svn_repos_notify_failure, pool);
   notify_failure->err = err;
   notify_failure->revision = rev;
@@ -2048,9 +2045,6 @@ notify_verification_summary(svn_error_t 
 {
   svn_repos_notify_t *notify_failure;
 
-  if (notify_func == NULL)
-    return;
-
   notify_failure = svn_repos_notify_create(svn_repos_notify_summary, pool);
   notify_failure->err = err;
   notify_failure->revision = SVN_INVALID_REVNUM;


Reply via email to