diff options
author | def <dennis@felsin9.de> | 2015-02-17 02:18:52 +0100 |
---|---|---|
committer | def <dennis@felsin9.de> | 2015-02-17 02:22:30 +0100 |
commit | e686ca252385500e14ce327e2eba1e2ad79c944d (patch) | |
tree | c14d70dcc78a68f9741101ce4934af1628a79de0 /lib/wrappers/zip | |
parent | 5668ab3a49d5ebfce8952615ead75b0d98a28e2f (diff) | |
download | Nim-e686ca252385500e14ce327e2eba1e2ad79c944d.tar.gz |
Fix a few more warnings
Diffstat (limited to 'lib/wrappers/zip')
-rw-r--r-- | lib/wrappers/zip/zlib.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wrappers/zip/zlib.nim b/lib/wrappers/zip/zlib.nim index e3530d566..8bdb47106 100644 --- a/lib/wrappers/zip/zlib.nim +++ b/lib/wrappers/zip/zlib.nim @@ -232,7 +232,7 @@ proc uncompress*(sourceBuf: cstring, sourceLen: int): string = return # Make sure memory allocated by inflateInit2() is freed eventually. - finally: discard inflateEnd(z) + defer: discard inflateEnd(z) # Decompress all of self. while true: |