Skip to content

Commit 1bca499

Browse files
committed
ncmpio_vard.c unintialize variables
1 parent 3eabed2 commit 1bca499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/drivers/ncmpio/ncmpio_vard.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ getput_vard(NC *ncp,
5959
MPI_File fh;
6060
MPI_Offset nelems=0, fnelems=0, bnelems=0, offset=0;
6161
MPI_Datatype etype=MPI_DATATYPE_NULL, xtype=MPI_BYTE;
62-
MPI_Offset filetype_size;
62+
MPI_Offset filetype_size=0;
6363
#ifdef HAVE_MPI_TYPE_SIZE_C
6464
MPI_Count true_lb=0, true_ub=0, true_extent=0;
6565
MPI_Count type_size;

0 commit comments

Comments
 (0)