subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1130831 - /subversion/trunk/subversion/libsvn_client/patch.c
Date Thu, 02 Jun 2011 21:39:20 GMT
Author: stsp
Date: Thu Jun  2 21:39:19 2011
New Revision: 1130831

URL: http://svn.apache.org/viewvc?rev=1130831&view=rev
Log:
* subversion/libsvn_client/patch.c
  (scan_for_match, apply_one_patch): Remove superfluous parentheses.

Modified:
    subversion/trunk/subversion/libsvn_client/patch.c

Modified: subversion/trunk/subversion/libsvn_client/patch.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/patch.c?rev=1130831&r1=1130830&r2=1130831&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/patch.c (original)
+++ subversion/trunk/subversion/libsvn_client/patch.c Thu Jun  2 21:39:19 2011
@@ -1224,7 +1224,7 @@ scan_for_match(svn_linenum_t *matched_li
       svn_pool_clear(iterpool);
 
       if (cancel_func)
-        SVN_ERR((cancel_func)(cancel_baton));
+        SVN_ERR(cancel_func(cancel_baton));
 
       SVN_ERR(match_hunk(&matched, content_info, hunk, fuzz, ignore_whitespace,
                          match_modified, iterpool));
@@ -1923,7 +1923,7 @@ apply_one_patch(patch_target_t **patch_t
       svn_pool_clear(iterpool);
 
       if (cancel_func)
-        SVN_ERR((cancel_func)(cancel_baton));
+        SVN_ERR(cancel_func(cancel_baton));
 
       hunk = APR_ARRAY_IDX(patch->hunks, i, svn_diff_hunk_t *);
 
@@ -1951,7 +1951,7 @@ apply_one_patch(patch_target_t **patch_t
       svn_pool_clear(iterpool);
 
       if (cancel_func)
-        SVN_ERR((cancel_func)(cancel_baton));
+        SVN_ERR(cancel_func(cancel_baton));
 
       hi = APR_ARRAY_IDX(target->content_info->hunks, i, hunk_info_t *);
       if (hi->already_applied)
@@ -2006,7 +2006,7 @@ apply_one_patch(patch_target_t **patch_t
           svn_pool_clear(iterpool);
 
           if (cancel_func)
-            SVN_ERR((cancel_func)(cancel_baton));
+            SVN_ERR(cancel_func(cancel_baton));
 
           hunk = APR_ARRAY_IDX(prop_patch->hunks, i, svn_diff_hunk_t *);
 



Mime
View raw message