From 3310e675677982d6252cde90f765faf9832b24a8 Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Tue, 16 Jul 2019 14:54:42 -0600 Subject: [PATCH] hdf4file.c cleanup --- libhdf4/hdf4file.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libhdf4/hdf4file.c b/libhdf4/hdf4file.c index f44a8e88e..bc3c055b4 100644 --- a/libhdf4/hdf4file.c +++ b/libhdf4/hdf4file.c @@ -604,8 +604,7 @@ NC_HDF4_open(const char *path, int mode, int basepe, size_t *chunksizehintp, int32 num_datasets, num_gatts; int32 sdid; int v, a; - NC_FILE_INFO_T* nc4_info = NULL; - int retval = NC_NOERR; + int retval; /* Check inputs. */ assert(nc_file && path);