From cac36006ac512db953544e0daff963657589ae9e Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Sun, 5 Apr 2020 22:30:20 +0100 Subject: zstream: use GIT_ASSERT --- src/zstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zstream.c b/src/zstream.c index 975ead2f6..a5675676e 100644 --- a/src/zstream.c +++ b/src/zstream.c @@ -156,7 +156,7 @@ int git_zstream_get_output(void *out, size_t *out_len, git_zstream *zstream) } /* either we finished the input or we did not flush the data */ - assert(zstream->in_len > 0 || zstream->flush == Z_FINISH); + GIT_ASSERT(zstream->in_len > 0 || zstream->flush == Z_FINISH); /* set out_size to number of bytes actually written to output */ *out_len = *out_len - out_remain; -- cgit v1.2.1