subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1498568 - in /subversion/trunk/subversion: libsvn_client/log.c svnserve/serve.c
Date Mon, 01 Jul 2013 17:00:26 GMT
Author: danielsh
Date: Mon Jul  1 17:00:26 2013
New Revision: 1498568

URL: http://svn.apache.org/r1498568
Log:
Code cleanup.  No functional change intended.

* subversion/libsvn_client/log.c
  (svn_client_log5): Don't request a value that won't be read.

* subversion/svnserve/serve.c
  (commit): Remove needless initializations.

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

Modified: subversion/trunk/subversion/libsvn_client/log.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/log.c?rev=1498568&r1=1498567&r2=1498568&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/log.c (original)
+++ subversion/trunk/subversion/libsvn_client/log.c Mon Jul  1 17:00:26 2013
@@ -837,7 +837,7 @@ svn_client_log5(const apr_array_header_t
   SVN_ERR(resolve_log_targets(&relative_targets, &ra_target, &peg_rev,
                               targets, ctx, pool, pool));
 
-  SVN_ERR(svn_client__ra_session_from_path2(&ra_session, &actual_loc,
+  SVN_ERR(svn_client__ra_session_from_path2(&ra_session, NULL,
                                             ra_target, NULL, &peg_rev, &peg_rev,
                                             ctx, pool));
 

Modified: subversion/trunk/subversion/svnserve/serve.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnserve/serve.c?rev=1498568&r1=1498567&r2=1498568&view=diff
==============================================================================
--- subversion/trunk/subversion/svnserve/serve.c (original)
+++ subversion/trunk/subversion/svnserve/serve.c Mon Jul  1 17:00:26 2013
@@ -1392,13 +1392,13 @@ static svn_error_t *commit(svn_ra_svn_co
                            apr_array_header_t *params, void *baton)
 {
   server_baton_t *b = baton;
-  const char *log_msg = NULL,
+  const char *log_msg,
              *date = NULL,
              *author = NULL,
              *post_commit_err = NULL;
   apr_array_header_t *lock_tokens;
   svn_boolean_t keep_locks;
-  apr_array_header_t *revprop_list = NULL;
+  apr_array_header_t *revprop_list;
   apr_hash_t *revprop_table;
   const svn_delta_editor_t *editor;
   void *edit_baton;



Mime
View raw message