summaryrefslogtreecommitdiff
path: root/trace.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-01-10 23:26:09 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-01-10 23:27:39 -0800
commit8c3c7b2adbac9d4fce1fcec0ca03cfb6535d5af3 (patch)
treed3686fbfb61bf76e4ad5320d32688ae169a3e872 /trace.c
parentbundle, fast-import: detect write failure (diff)
downloadtgif-8c3c7b2adbac9d4fce1fcec0ca03cfb6535d5af3.tar.xz
pack-objects: remove redundant and wrong call to deflateEnd()
We somehow called deflateEnd() on a stream that we have called deflateEnd() on already. In fact, the second deflateEnd() has always been returning Z_STREAM_ERROR. We just never checked the error return from that particular deflateEnd(). The first one returns 0 for success. We might want to tighten the check even more to check that. Noticed by Marco. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'trace.c')
0 files changed, 0 insertions, 0 deletions