Hi All,

This patch removes some unused parameters in the function accumulate_last_change() inside libsvn_wc/update-editor.c

There were two parameters ( svn_wc__db_t *db, const char *local_abspath ) that were not being used.

I have removed them and fixed the function calls.

I have attached the patch and the log message. Please review and respond.

Regards,
Arwin Arni
Index: subversion/libsvn_wc/update_editor.c
===================================================================
--- subversion/libsvn_wc/update_editor.c        (revision 1053802)
+++ subversion/libsvn_wc/update_editor.c        (working copy)
@@ -1081,8 +1081,6 @@
 accumulate_last_change(svn_revnum_t *changed_rev,
                        apr_time_t *changed_date,
                        const char **changed_author,
-                       svn_wc__db_t *db,
-                       const char *local_abspath,
                        const apr_array_header_t *entry_props,
                        apr_pool_t *scratch_pool,
                        apr_pool_t *result_pool)
@@ -2797,7 +2795,7 @@
       SVN_ERR(accumulate_last_change(&new_changed_rev,
                                      &new_changed_date,
                                      &new_changed_author,
-                                     eb->db, db->local_abspath, entry_props,
+                                     entry_props,
                                      pool, pool));
     }
 
@@ -4099,7 +4097,6 @@
   SVN_ERR(accumulate_last_change(&new_changed_rev,
                                  &new_changed_date,
                                  &new_changed_author,
-                                 eb->db, fb->local_abspath,
                                  entry_props,
                                  pool, pool));
 
@@ -5550,7 +5547,6 @@
     SVN_ERR(accumulate_last_change(&changed_rev,
                                    &changed_date,
                                    &changed_author,
-                                   db, local_abspath,
                                    entry_props, pool, pool));
   }
 
[[[
Removed unused parameters (svn_wc__db_t *db, const char *local_abspath)
from the signature of accumulate_last_change() in 
libsvn_wc/update_editor.c and fixed function calls. 

* subversion/libsvn_wc/update_editor.c
  (accumulate_last_change): Removed 
                            'svn_wc__db_t *db,
                             const char *local_abspath'
                            from function signature.
  (close_directory, 
   close_file,
   svn_wc_add_repos_file4): Fixed the function calls.

Patch by: Arwin Arni <arwin_at_collab.net>
]]]

Reply via email to