vendor/libgit2/src/transaction.c in rugged-0.24.0b4 vs vendor/libgit2/src/transaction.c in rugged-0.24.0b5
- old
+ new
@@ -75,11 +75,10 @@
git_pool pool;
git_transaction *tx = NULL;
assert(out && repo);
- if ((error = git_pool_init(&pool, 1, 0)) < 0)
- return error;
+ git_pool_init(&pool, 1);
tx = git_pool_mallocz(&pool, sizeof(git_transaction));
if (!tx) {
error = -1;
goto on_error;