Skip to content
Snippets Groups Projects
Commit 166df618 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Shorten block with existing variable.

parent 2b02c18b
No related branches found
No related tags found
No related merge requests found
......@@ -681,10 +681,8 @@ cdiPioDistGridLazyRedistCreate(grid_t *gridptr, enum cdiPioGDsa saIdx)
}
if (!defXmap)
{
int inClientGroup = !commInqIsProcIO();
MPI_Comm comm = inClientGroup ? commInqCommModel() : commInqCommColl();
xmap_new_func_ptr xmapNew
= cdiPioGetConf()->xmap_new;
MPI_Comm comm = cdiPioDistGridComm;
xmap_new_func_ptr xmapNew = cdiPioGetConf()->xmap_new;
extraData->defXmaps[distType]
= defXmap = xmapNew(extraData->partDesc[distType], distList, comm);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment