From dbfd83bc6567763e6c363c462e9dd0628eaf3fe6 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Mon, 3 Feb 2014 19:56:13 -0800 Subject: [PATCH] Remove unused pointer assignment --- src/merge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/merge.c b/src/merge.c index 2ae02e54d..ac973efd0 100644 --- a/src/merge.c +++ b/src/merge.c @@ -2397,7 +2397,7 @@ int git_merge__indexes(git_repository *repo, git_index *index_new) /* Remove removed items from the index */ git_vector_foreach(&paths, i, path) { - if ((e = git_index_get_bypath(index_new, path, 0)) == NULL) { + if (git_index_get_bypath(index_new, path, 0) == NULL) { if ((error = git_index_remove(index_repo, path, 0)) < 0 && error != GIT_ENOTFOUND) goto done;