subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1817378 - /subversion/branches/shelve-checkpoint/subversion/libsvn_client/shelve.c
Date Thu, 07 Dec 2017 15:05:32 GMT
Author: julianfoad
Date: Thu Dec  7 15:05:32 2017
New Revision: 1817378

URL: http://svn.apache.org/viewvc?rev=1817378&view=rev
Log:
On the 'shelve-checkpoint' branch: Don't leak an error.

* subversion/libsvn_client/shelve.c
  (shelf_read_log_message): Clear the error if we ignore it.

Modified:
    subversion/branches/shelve-checkpoint/subversion/libsvn_client/shelve.c

Modified: subversion/branches/shelve-checkpoint/subversion/libsvn_client/shelve.c
URL: http://svn.apache.org/viewvc/subversion/branches/shelve-checkpoint/subversion/libsvn_client/shelve.c?rev=1817378&r1=1817377&r2=1817378&view=diff
==============================================================================
--- subversion/branches/shelve-checkpoint/subversion/libsvn_client/shelve.c (original)
+++ subversion/branches/shelve-checkpoint/subversion/libsvn_client/shelve.c Thu Dec  7 15:05:32
2017
@@ -144,6 +144,7 @@ shelf_read_log_message(svn_client_shelf_
                          APR_FPROT_OS_DEFAULT, result_pool);
   if (err && err->apr_err == APR_ENOENT)
     {
+      svn_error_clear(err);
       shelf->log_message = "";
       return SVN_NO_ERROR;
     }



Mime
View raw message