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

Conditionally declare conditionally used variable.

parent 76db9ac6
No related branches found
No related tags found
No related merge requests found
......@@ -373,8 +373,8 @@ void readGetBuffers ( int tsID, int vdate, int vtime )
{
int nProcsModel = commInqNProcsModel ();
int root = commInqRootGlob ();
int myCollRank = commInqRankColl();
#ifdef HAVE_NETCDF4
int myCollRank = commInqRankColl();
MPI_Comm collComm = commInqCommColl();
#endif
xdebug("%s", "START");
......
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