check inflateInit2 return value
do not zero out memory that will be overwritten anyway
remove unused variable
fix missing check for October
Merge pull request #1 from mscdex/master

misc fixes