From f0f128a650edd36bdb6d61e7b3d4998aba57f1ba Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Mon, 25 Mar 2019 05:59:14 -0600 Subject: [PATCH] fixed incorrect use of file before it was set in pio_msg.c --- src/clib/pio_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clib/pio_msg.c b/src/clib/pio_msg.c index 38dd3f25fbc..5114042adea 100644 --- a/src/clib/pio_msg.c +++ b/src/clib/pio_msg.c @@ -2151,7 +2151,7 @@ int write_darray_multi_handler(iosystem_desc_t *ios) /* Get decomposition information. */ if (!(iodesc = pio_get_iodesc_from_id(ioid))) - return pio_err(ios, file, PIO_EBADID, __FILE__, __LINE__); + return pio_err(ios, NULL, PIO_EBADID, __FILE__, __LINE__); if ((mpierr = MPI_Bcast(&arraylen, 1, MPI_OFFSET, 0, ios->intercomm))) return check_mpi2(ios, NULL, mpierr, __FILE__, __LINE__);