subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pbu...@apache.org
Subject svn commit: r1478221 - /subversion/trunk/subversion/libsvn_client/log.c
Date Wed, 01 May 2013 22:36:55 GMT
Author: pburba
Date: Wed May  1 22:36:55 2013
New Revision: 1478221

URL: http://svn.apache.org/r1478221
Log:
Follow-up to issue #4355 'svn_client_log5 broken with multiple revisions
which span a rename' fix in r1478220 -- remove some cruft.

* subversion/libsvn_client/log.c

  (resolve_wc_opt_revs): Remove a stray bit of commented debugging code.

  (svn_client_log5): Remove an unused local variable.


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

Modified: subversion/trunk/subversion/libsvn_client/log.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/log.c?rev=1478221&r1=1478220&r2=1478221&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/log.c (original)
+++ subversion/trunk/subversion/libsvn_client/log.c Wed May  1 22:36:55 2013
@@ -433,7 +433,7 @@ resolve_wc_opt_revs(svn_opt_revision_t *
 {
   if (SVN_CLIENT__REVKIND_NEEDS_WC(opt_rev->kind))
     {
-      svn_revnum_t range_start_as_revnum;// = 0;
+      svn_revnum_t range_start_as_revnum;
 
       SVN_ERR(svn_client__get_revision_number(&range_start_as_revnum,
                                               NULL, ctx->wc_ctx, abspath,
@@ -925,7 +925,6 @@ svn_client_log5(const apr_array_header_t
                 apr_pool_t *pool)
 {
   svn_ra_session_t *ra_session;
-  const char *url_or_path;
   const char *old_session_url;
   const char *ra_target;
   svn_opt_revision_t youngest_opt_rev;
@@ -951,9 +950,6 @@ svn_client_log5(const apr_array_header_t
   SVN_ERR(resolve_log_targets(&relative_targets, &ra_target, &peg_rev,
                               targets, ctx, pool, pool));
 
-  /* Use the passed URL, if there is one.  */
-  url_or_path = APR_ARRAY_IDX(targets, 0, const char *);
-
   /* Convert OPT_REV_RANGES to an array of rev_range_t and find the youngest
      and oldest revision range that spans all of OPT_REV_RANGES. */
   SVN_ERR(convert_opt_rev_array_to_rev_range_array(&revision_ranges,



Mime
View raw message