diff options
author | Vicent Marti <tanoku@gmail.com> | 2015-10-27 17:26:04 +0100 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2015-10-28 10:13:13 +0100 |
commit | 1e5e02b4f47779fe3733b1a6ab24a6ca13099ec3 (patch) | |
tree | ac854971d3609c9065cbaee0119541428bdc9477 /src/index.c | |
parent | efc659b071e02c6d3b39b32b35ab83233d978956 (diff) | |
download | libgit2-1e5e02b4f47779fe3733b1a6ab24a6ca13099ec3.tar.gz |
pool: Simplify implementation
Diffstat (limited to 'src/index.c')
-rw-r--r-- | src/index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.c b/src/index.c index d9e713899..0adc7e157 100644 --- a/src/index.c +++ b/src/index.c @@ -439,7 +439,7 @@ int git_index_open(git_index **index_out, const char *index_path) return -1; } - git_pool_init(&index->tree_pool, 1, 0); + git_pool_init(&index->tree_pool, 1); if (index_path != NULL) { index->index_file_path = git__strdup(index_path); |