summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2015-10-21 12:04:53 +0200
committerVicent Marti <tanoku@gmail.com>2015-10-21 12:04:53 +0200
commit128e94bbbb1f1af539be7fb2844e261bfdb28fed (patch)
treeb96378a95bd65809381440818f7fd6ea4e081d2d
parent307c4a2b6d1e3b403225b3d5b7f9894b940b24bd (diff)
downloadlibgit2-128e94bbbb1f1af539be7fb2844e261bfdb28fed.tar.gz
index: Remove unneeded consts
-rw-r--r--src/index.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/index.c b/src/index.c
index c0be5b90d..334a13135 100644
--- a/src/index.c
+++ b/src/index.c
@@ -1193,13 +1193,13 @@ static int index_no_dups(void **old, void *new)
}
static void index_existing_and_best(
- const git_index_entry **existing,
+ git_index_entry **existing,
size_t *existing_position,
- const git_index_entry **best,
+ git_index_entry **best,
git_index *index,
const git_index_entry *entry)
{
- const git_index_entry *e;
+ git_index_entry *e;
size_t pos;
int error;