Author: hwright
Date: Sun May  1 00:41:21 2011
New Revision: 1098203

URL: http://svn.apache.org/viewvc?rev=1098203&view=rev
Log:
Comment out some code which doesn't actually do anything.
(I would have just removed it, save for the fact that a couple of other
functions in the same file have the same code commented out, and I wasn't
sure if somebody is going to be back to use this later.)

* subversion/libsvn_client/diff.c
  (diff_dir_added, diff_dir_deleted): Don't bother setting a variable which
    is never read.

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

Modified: subversion/trunk/subversion/libsvn_client/diff.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/diff.c?rev=1098203&r1=1098202&r2=1098203&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/diff.c (original)
+++ subversion/trunk/subversion/libsvn_client/diff.c Sun May  1 00:41:21 2011
@@ -1239,9 +1239,9 @@ diff_dir_added(svn_wc_notify_state_t *st
                void *diff_baton,
                apr_pool_t *scratch_pool)
 {
-  struct diff_cmd_baton *diff_cmd_baton = diff_baton;
+  /*struct diff_cmd_baton *diff_cmd_baton = diff_baton;
   if (diff_cmd_baton->anchor)
-    path = svn_dirent_join(diff_cmd_baton->anchor, path, scratch_pool);
+    path = svn_dirent_join(diff_cmd_baton->anchor, path, scratch_pool);*/
 
   /* Do nothing. */
 
@@ -1256,9 +1256,9 @@ diff_dir_deleted(svn_wc_notify_state_t *
                  void *diff_baton,
                  apr_pool_t *scratch_pool)
 {
-  struct diff_cmd_baton *diff_cmd_baton = diff_baton;
+  /*struct diff_cmd_baton *diff_cmd_baton = diff_baton;
   if (diff_cmd_baton->anchor)
-    path = svn_dirent_join(diff_cmd_baton->anchor, path, scratch_pool);
+    path = svn_dirent_join(diff_cmd_baton->anchor, path, scratch_pool);*/
 
   /* Do nothing. */
 


Reply via email to