Author: stsp
Date: Tue Oct 11 23:12:47 2011
New Revision: 1182138

URL: http://svn.apache.org/viewvc?rev=1182138&view=rev
Log:
* subversion/libsvn_delta/compat.c                                            
 (ev2_close_directory, ev2_absent_directory, ev2_apply_textdelta,             
  ev2_close_file, ev2_absent_file, complete_cb): Bring back unused
   variables removed in r1182130. Apparently, Hyrum has plans for them.

Requested by: hwright

Modified:
    subversion/trunk/subversion/libsvn_delta/compat.c

Modified: subversion/trunk/subversion/libsvn_delta/compat.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_delta/compat.c?rev=1182138&r1=1182137&r2=1182138&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_delta/compat.c (original)
+++ subversion/trunk/subversion/libsvn_delta/compat.c Tue Oct 11 23:12:47 2011
@@ -338,6 +338,8 @@ static svn_error_t *
 ev2_close_directory(void *dir_baton,
                     apr_pool_t *scratch_pool)
 {
+  struct ev2_dir_baton *db = dir_baton;
+
   return SVN_NO_ERROR;
 }
 
@@ -346,6 +348,7 @@ ev2_absent_directory(const char *path,
                      void *parent_baton,
                      apr_pool_t *scratch_pool)
 {
+  struct ev2_dir_baton *pb = parent_baton;
   return SVN_NO_ERROR;
 }
 
@@ -397,6 +400,8 @@ ev2_apply_textdelta(void *file_baton,
                     svn_txdelta_window_handler_t *handler,
                     void **handler_baton)
 {
+  struct ev2_file_baton *fb = file_baton;
+
   *handler_baton = NULL;
   *handler = svn_delta_noop_window_handler;
   return SVN_NO_ERROR;
@@ -424,6 +429,7 @@ ev2_close_file(void *file_baton,
                const char *text_checksum,
                apr_pool_t *scratch_pool)
 {
+  struct ev2_file_baton *fb = file_baton;
   return SVN_NO_ERROR;
 }
 
@@ -432,6 +438,7 @@ ev2_absent_file(const char *path,
                 void *parent_baton,
                 apr_pool_t *scratch_pool)
 {
+  struct ev2_dir_baton *pb = parent_baton;
   return SVN_NO_ERROR;
 }
 
@@ -848,6 +855,9 @@ complete_cb(void *baton,
 
   for (i = 0; i < sorted_hash->nelts; i++)
     {
+      svn_sort__item_t *item = &APR_ARRAY_IDX(sorted_hash, i, 
svn_sort__item_t);
+      const char *path = item->key;
+
       /* ### We should actually do something here, but for now... */
     }
 


Reply via email to