Skip to content

Commit

Permalink
fixed missing initializations in pio_msg.c
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Mar 20, 2019
1 parent 8b2952f commit 88c4201
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/clib/pio_msg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1225,9 +1225,9 @@ int inq_var_deflate_handler(iosystem_desc_t *ios)
char shuffle_present;
char deflate_present;
char deflate_level_present;
int shuffle, *shufflep;
int deflate, *deflatep;
int deflate_level, *deflate_levelp;
int shuffle, *shufflep = NULL;
int deflate, *deflatep = NULL;
int deflate_level, *deflate_levelp = NULL;
int mpierr;

assert(ios);
Expand Down Expand Up @@ -2331,9 +2331,9 @@ int get_chunk_cache_handler(iosystem_desc_t *ios)
int iosysid;
int iotype;
char size_present, nelems_present, preemption_present;
PIO_Offset size, *sizep;
PIO_Offset nelems, *nelemsp;
float preemption, *preemptionp;
PIO_Offset size, *sizep = NULL;
PIO_Offset nelems, *nelemsp = NULL;
float preemption, *preemptionp = NULL;
int mpierr = MPI_SUCCESS; /* Return code from MPI function codes. */

LOG((1, "get_chunk_cache_handler called"));
Expand Down Expand Up @@ -2384,9 +2384,9 @@ int get_var_chunk_cache_handler(iosystem_desc_t *ios)
int ncid;
int varid;
char size_present, nelems_present, preemption_present;
PIO_Offset size, *sizep;
PIO_Offset nelems, *nelemsp;
float preemption, *preemptionp;
PIO_Offset size, *sizep = NULL;
PIO_Offset nelems, *nelemsp = NULL;
float preemption, *preemptionp = NULL;
int mpierr = MPI_SUCCESS; /* Return code from MPI function codes. */

LOG((1, "get_var_chunk_cache_handler called"));
Expand Down

0 comments on commit 88c4201

Please sign in to comment.