Code

gitweb: accept trailing "/" in $project_list
[git.git] / diffcore-rename.c
index f62587e523e1b38c2fd440780d2635677e734c4d..3d65bb370dbfd6d6581b6b3b454b5551d3e3fe22 100644 (file)
@@ -498,7 +498,7 @@ void diffcore_rename(struct diff_options *options)
        struct diff_queue_struct outq;
        struct diff_score *mx;
        int i, j, rename_count, skip_unmodified = 0;
-       int num_create, num_src, dst_cnt;
+       int num_create, dst_cnt;
        struct progress *progress = NULL;
 
        if (!minimum_score)
@@ -554,7 +554,6 @@ void diffcore_rename(struct diff_options *options)
         * files still remain as options for rename/copies!)
         */
        num_create = (rename_dst_nr - rename_count);
-       num_src = rename_src_nr;
 
        /* All done? */
        if (!num_create)