Skip to content

Commit

Permalink
fixed use of uninitialized variable in topology.c
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Mar 25, 2019
1 parent f0f128a commit b9259f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/clib/topology.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ void determineiotasks(const MPI_Comm comm, int *numiotasks,int *base, int *strid

Kernel_GetPersonality(&pers, sizeof(pers));

int numIONodes,numPsets,numNodesInPset,rankInPset;
int numiotasks_per_node,remainder,numIONodes_per_pset;
int numIONodes, numPsets, numNodesInPset, rankInPset;
int numiotasks_per_node, remainder = 0, numIONodes_per_pset;
int lstride;

/* Number of computational nodes in processor set */
Expand Down

0 comments on commit b9259f3

Please sign in to comment.