You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2015/10/04 00:08:54 UTC

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

Author: rhuijben
Date: Sat Oct  3 22:08:53 2015
New Revision: 1706639

URL: http://svn.apache.org/viewvc?rev=1706639&view=rev
Log:
* subversion/libsvn_client/patch.c
  (apply_one_patch): Following up on r1706623 remove variable that is only set.

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=1706639&r1=1706638&r2=1706639&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/patch.c (original)
+++ subversion/trunk/subversion/libsvn_client/patch.c Sat Oct  3 22:08:53 2015
@@ -2428,7 +2428,6 @@ apply_one_patch(patch_target_t **patch_t
   static const svn_linenum_t MAX_FUZZ = 2;
   apr_hash_index_t *hash_index;
   svn_linenum_t previous_offset = 0;
-  svn_boolean_t has_text_changes = FALSE;
   apr_array_header_t *prop_targets;
 
   SVN_ERR(init_patch_target(&target, patch, abs_wc_path, wc_ctx, strip_count,
@@ -2533,7 +2532,6 @@ apply_one_patch(patch_target_t **patch_t
               target->skipped = TRUE;
             }
         }
-      has_text_changes = TRUE;
     }
   else if (patch->binary_patch)
     {
@@ -2558,7 +2556,6 @@ apply_one_patch(patch_target_t **patch_t
              the patch... So we can write the result stream; no fuzz,
              just a 100% match */
 
-          has_text_changes = TRUE;
           target->has_text_changes = TRUE;
         }
       else
@@ -2632,7 +2629,6 @@ apply_one_patch(patch_target_t **patch_t
                * temporary file on top of it. Skip this target. */
               target->skipped = TRUE;
             }
-          has_text_changes = TRUE;
         }
     }