Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
merge-recursive: remove final remaining caller of merge_file_one()
[gitweb.git]
/
branch.c
diff --git
a/branch.c
b/branch.c
index ecd710d7308c9d2be85cd3bcde4fd9d38dec0edc..776f55fc66fb7d782f30b05ca9bdff4a55028f49 100644
(file)
--- a/
branch.c
+++ b/
branch.c
@@
-25,9
+25,7
@@
static int find_tracked_branch(struct remote *remote, void *priv)
tracking->remote = remote->name;
} else {
free(tracking->spec.src);
- if (tracking->src) {
- FREE_AND_NULL(tracking->src);
- }
+ FREE_AND_NULL(tracking->src);
}
tracking->spec.src = NULL;
}