Skip to content

Commit

Permalink
Merge branch 'rs/archive-zip-raw-compression'
Browse files Browse the repository at this point in the history
* rs/archive-zip-raw-compression:
  zlib: fix compilation failures with Sun C Compilaer
  • Loading branch information
Junio C Hamano committed Apr 22, 2013
2 parents ad77690 + 7f49036 commit f4e89b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ void git_deflate_init_gzip(git_zstream *strm, int level)
* Use default 15 bits, +16 is to generate gzip header/trailer
* instead of the zlib wrapper.
*/
return do_git_deflate_init(strm, level, 15 + 16);
do_git_deflate_init(strm, level, 15 + 16);
}

void git_deflate_init_raw(git_zstream *strm, int level)
Expand All @@ -198,7 +198,7 @@ void git_deflate_init_raw(git_zstream *strm, int level)
* Use default 15 bits, negate the value to get raw compressed
* data without zlib header and trailer.
*/
return do_git_deflate_init(strm, level, -15);
do_git_deflate_init(strm, level, -15);
}

int git_deflate_abort(git_zstream *strm)
Expand Down

0 comments on commit f4e89b9

Please sign in to comment.