From 31a14982a099461a9d8a44ea773b1fef69a781a6 Mon Sep 17 00:00:00 2001 From: Linquize Date: Fri, 21 Mar 2014 17:36:34 +0800 Subject: [PATCH] Fix wrong assertion Fixes issue #2196 --- src/odb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/odb.c b/src/odb.c index 085eda594..df2171961 100644 --- a/src/odb.c +++ b/src/odb.c @@ -445,7 +445,7 @@ int git_odb_get_backend(git_odb_backend **out, git_odb *odb, size_t pos) { backend_internal *internal; - assert(odb && odb); + assert(out && odb); internal = git_vector_get(&odb->backends, pos); if (internal && internal->backend) {