diff options
| author | Linquize <linquize@yahoo.com.hk> | 2014-03-21 17:36:34 +0800 |
|---|---|---|
| committer | Linquize <linquize@yahoo.com.hk> | 2014-03-21 17:36:34 +0800 |
| commit | 31a14982a099461a9d8a44ea773b1fef69a781a6 (patch) | |
| tree | da00f9200a318d7daee29413969cfb49b112aa99 /src | |
| parent | 36a80fdaedc4724b20fe3ee1b3c87ae4daf23ab1 (diff) | |
| download | libgit2-31a14982a099461a9d8a44ea773b1fef69a781a6.tar.gz | |
Fix wrong assertion
Fixes issue #2196
Diffstat (limited to 'src')
| -rw-r--r-- | src/odb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |
