mirror of
https://github.com/git-for-windows/git.git
synced 2026-05-02 08:03:45 -05:00
Remove unused variables
Noticed by gcc 4.6.0. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -357,7 +357,6 @@ static void make_room_for_directories_of_df_conflicts(struct merge_options *o,
|
||||
*/
|
||||
const char *last_file = NULL;
|
||||
int last_len = 0;
|
||||
struct stage_data *last_e;
|
||||
int i;
|
||||
|
||||
/*
|
||||
@@ -394,7 +393,6 @@ static void make_room_for_directories_of_df_conflicts(struct merge_options *o,
|
||||
if (S_ISREG(e->stages[2].mode) || S_ISLNK(e->stages[2].mode)) {
|
||||
last_file = path;
|
||||
last_len = len;
|
||||
last_e = e;
|
||||
} else {
|
||||
last_file = NULL;
|
||||
}
|
||||
@@ -969,7 +967,6 @@ static int process_renames(struct merge_options *o,
|
||||
}
|
||||
|
||||
for (i = 0, j = 0; i < a_renames->nr || j < b_renames->nr;) {
|
||||
char *src;
|
||||
struct string_list *renames1, *renames2Dst;
|
||||
struct rename *ren1 = NULL, *ren2 = NULL;
|
||||
const char *branch1, *branch2;
|
||||
@@ -1004,7 +1001,6 @@ static int process_renames(struct merge_options *o,
|
||||
ren2 = ren1;
|
||||
ren1 = tmp;
|
||||
}
|
||||
src = ren1->pair->one->path;
|
||||
|
||||
ren1->dst_entry->processed = 1;
|
||||
ren1->src_entry->processed = 1;
|
||||
|
||||
Reference in New Issue
Block a user