You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2013/01/21 22:14:48 UTC

svn commit: r1436622 - /subversion/trunk/subversion/libsvn_client/patch.c

Author: hwright
Date: Mon Jan 21 21:14:47 2013
New Revision: 1436622

URL: http://svn.apache.org/viewvc?rev=1436622&view=rev
Log:
Followup to r1436580: Add a const to silence a compiler warning.

* subversion/libsvn_client/patch.c
  (get_hunk_info): Constify a variable.

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

Modified: subversion/trunk/subversion/libsvn_client/patch.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/patch.c?rev=1436622&r1=1436621&r2=1436622&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/patch.c (original)
+++ subversion/trunk/subversion/libsvn_client/patch.c Mon Jan 21 21:14:47 2013
@@ -1546,7 +1546,7 @@ get_hunk_info(hunk_info_t **hi, patch_ta
     {
       if (target->kind_on_disk == svn_node_file)
         {
-          svn_io_dirent2_t *dirent;
+          const svn_io_dirent2_t *dirent;
           SVN_ERR(svn_io_stat_dirent2(&dirent, target->local_abspath, FALSE,
                                       TRUE, scratch_pool, scratch_pool));