From aabd2fc66bf290407ff06dfeca414e8eefec4c36 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 8 Mar 2013 13:34:04 +0100 Subject: [PATCH] Zip reader: remove unnecessary test --- src/libpspp/zip-reader.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libpspp/zip-reader.c b/src/libpspp/zip-reader.c index 3f1d277c92..7c1e342aa7 100644 --- 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) -- 2.30.2