subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject svn commit: r1478465 - /subversion/trunk/subversion/libsvn_client/log.c
Date Thu, 02 May 2013 18:03:39 GMT
Author: breser
Date: Thu May  2 18:03:39 2013
New Revision: 1478465

URL: http://svn.apache.org/r1478465
Log:
Remove a dead initialization, followup to r1478220.

* subversion/libsvn_client/log.c
  (run_ra_get_log): Move segment_url into the only block it is used and remove
    an initialization that never gets used.

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=1478465&r1=1478464&r2=1478465&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/log.c (original)
+++ subversion/trunk/subversion/libsvn_client/log.c Thu May  2 18:03:39 2013
@@ -810,7 +810,6 @@ run_ra_get_log(apr_array_header_t *revis
       const char *old_session_url;
       const char *path = APR_ARRAY_IDX(targets, 0, const char *);
       const char *local_abspath_or_url;
-      const char *segment_url = actual_loc->url;
       rev_range_t *range;
       limit_receiver_baton_t lb;
       svn_log_entry_receiver_t passed_receiver;
@@ -845,7 +844,7 @@ run_ra_get_log(apr_array_header_t *revis
           /* ...but if there is history, then we must account for issue
              #4355 and make sure our RA session is pointing at the correct
              location. */
-          segment_url = svn_path_url_add_component2(
+          const char *segment_url = svn_path_url_add_component2(
             actual_loc->repos_root_url, (*matching_segment)->path,
             scratch_pool);
           SVN_ERR(svn_client__ensure_ra_session_url(&old_session_url,



Mime
View raw message