Commit 65c23e9cde48e7448569587ffcfed81a1e1698da

Edward Thomson 2020-04-05T14:53:08

delta: use GIT_ASSERT

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/delta.c b/src/delta.c
index 1ff7752..2d2c5fa 100644
--- a/src/delta.c
+++ b/src/delta.c
@@ -256,7 +256,7 @@ void git_delta_index_free(git_delta_index *index)
 
 size_t git_delta_index_size(git_delta_index *index)
 {
-	assert(index);
+	GIT_ASSERT_ARG(index);
 
 	return index->memsize;
 }