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

Replace single reference of variable with value.

parent 93ac142d
......@@ -667,7 +667,6 @@ void
cdiStreamSetupVlist(stream_t *streamptr, int vlistID, int vlistIDorig)
{
int nvars = vlistNvars(vlistID);
int streamID = streamptr->self;
streamptr->vlistID = vlistID;
streamptr->vlistIDorig = vlistIDorig;
for (int varID = 0; varID < nvars; varID++ )
......@@ -692,7 +691,7 @@ cdiStreamSetupVlist(stream_t *streamptr, int vlistID, int vlistIDorig)
int rank, rankOpen;
if (commInqIOMode() == PIO_NONE
|| ((rank = commInqRankColl())
== (rankOpen = cdiPioSerialOpenFileMap(streamID))))
== (rankOpen = cdiPioSerialOpenFileMap(streamptr->self))))
#endif
cdfDefVars(streamptr);
}
......
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