Commit afa6a46a authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Replace single-use variable with literal.

parent fe19e89b
......@@ -346,7 +346,7 @@ static
static
void getData ( int tsID, int vdate, int vtime )
{
int iAssert = 0, modelID;
int modelID;
char text[1024];
int nProcsModel = commInqNProcsModel ();
void *getWinBaseAddr;
......@@ -356,7 +356,7 @@ void getData ( int tsID, int vdate, int vtime )
// todo put in correct lbs and ubs
xassert ( tsID >= 0 && vdate >= 0 && vtime >= 0 );
xmpi ( MPI_Win_start ( groupModel, iAssert, getWin ));
xmpi(MPI_Win_start(groupModel, 0, getWin));
xmpi(MPI_Win_get_attr(getWin, MPI_WIN_BASE, &getWinBaseAddr, &attrFound));
xassert(attrFound);
for ( modelID = 0; modelID < nProcsModel; modelID++ )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment