From 1c1d40dfec18a442b6cddb78233453496f4b3316 Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Tue, 2 Jul 2019 08:25:44 -0600 Subject: [PATCH] fixed warning in quick_large_files.c --- examples/C/quick_large_files.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/C/quick_large_files.c b/examples/C/quick_large_files.c index f7dcd72bf..43740c358 100644 --- a/examples/C/quick_large_files.c +++ b/examples/C/quick_large_files.c @@ -39,9 +39,9 @@ int main() { int ncid, spockid, kirkid, dimids[NUMDIMS]; - double val_in, val_out = 999.99; + double val_out = 999.99; size_t index[NUMDIMS] = {DIM_LEN-1}; - int i, res; + int res; /* Create the netCDF 64-bit offset format file. */ if ((res = nc_create("example.nc", NC_CLOBBER|NC_64BIT_OFFSET, &ncid)))