projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91fc7d2
)
Zip reader: remove unnecessary test
author
John Darrington
<john@darrington.wattle.id.au>
Fri, 8 Mar 2013 12:34:04 +0000
(13:34 +0100)
committer
John Darrington
<john@darrington.wattle.id.au>
Fri, 8 Mar 2013 12:34:04 +0000
(13:34 +0100)
src/libpspp/zip-reader.c
patch
|
blob
|
history
diff --git
a/src/libpspp/zip-reader.c
b/src/libpspp/zip-reader.c
index 3f1d277c92ab140e19653e4383a116bdeb86c1d8..7c1e342aa76e51bb513afa1e72cf01d9bf41e7d0 100644
(file)
--- a/
src/libpspp/zip-reader.c
+++ b/
src/libpspp/zip-reader.c
@@
-126,9
+126,7
@@
zip_reader_destroy (struct zip_reader *zr)
if (zr == NULL)
return;
- if (zr->fr != NULL)
- fclose (zr->fr);
-
+ fclose (zr->fr);
free (zr->filename);
for (i = 0; i < zr->n_members; ++i)