From a59ab5e7d6a7669ece52e3f12778f4243038b875 Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Tue, 26 Mar 2019 07:42:31 -0600 Subject: [PATCH] fixed codacy warning in pioc_support.c --- src/clib/pioc_support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clib/pioc_support.c b/src/clib/pioc_support.c index 9c8372f682d..edbdf5f5f37 100644 --- a/src/clib/pioc_support.c +++ b/src/clib/pioc_support.c @@ -1974,7 +1974,7 @@ int check_unlim_use(int ncid) int inq_file_metadata(file_desc_t *file, int ncid, int iotype, int *nvars, int **rec_var, int **pio_type, int **pio_type_size, MPI_Datatype **mpi_type, int **mpi_type_size) { - int nunlimdims; /* The number of unlimited dimensions. */ + int nunlimdims = 0; /* The number of unlimited dimensions. */ int unlimdimid; int *unlimdimids; int mpierr;