Skip to content

Commit cac3600

Browse files
committed
zstream: use GIT_ASSERT
1 parent 0165e88 commit cac3600

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zstream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ int git_zstream_get_output(void *out, size_t *out_len, git_zstream *zstream)
156156
}
157157

158158
/* either we finished the input or we did not flush the data */
159-
assert(zstream->in_len > 0 || zstream->flush == Z_FINISH);
159+
GIT_ASSERT(zstream->in_len > 0 || zstream->flush == Z_FINISH);
160160

161161
/* set out_size to number of bytes actually written to output */
162162
*out_len = *out_len - out_remain;

0 commit comments

Comments
 (0)