summaryrefslogtreecommitdiff
path: root/src/git
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2009-02-03 18:23:50 +0000
committerShawn O. Pearce <spearce@spearce.org>2009-02-11 10:46:29 -0800
commit236e7579fed7763be77209efb8708960982f3cb3 (patch)
tree7b2a0b6f0d56e59dacf05a30087b58c1ff93cad6 /src/git
parentc94eb4aa7665d04c8412a72f3554401d2e89e03c (diff)
downloadlibgit2-236e7579fed7763be77209efb8708960982f3cb3.tar.gz
Check for error returns from inflateInit()
At present, it is sufficient to ensure that an error return from inflateInit() is not ignored. Most error returns, like Z_VERSION_ERROR and Z_STREAM_ERROR, indicate programming or build errors. These errors could, perhaps, be handled with simple asserts. However, for a Z_MEM_ERROR, we may want to perform some further error handling in the future. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'src/git')
0 files changed, 0 insertions, 0 deletions