Commit 7f2fe7bf authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Conditionally compile conditionally called function.

parent 8df13bb1
......@@ -3969,10 +3969,10 @@ int cdf_write_var_slice(stream_t *streamptr, int varID, int levelID, int memtype
return (0);
}
#if defined (HAVE_LIBNETCDF)
static
void cdfCreateRecords(stream_t *streamptr, int tsID)
{
#if defined (HAVE_LIBNETCDF)
int varID, levelID, recID, vrecID, zaxisID;
int nvars, nlev, nrecs, nvrecs;
record_t *records = NULL;
......@@ -4089,8 +4089,8 @@ void cdfCreateRecords(stream_t *streamptr, int tsID)
streamptr->tsteps[1].recIDs,
nvrecs*sizeof(int));
}
#endif
}
#endif
#if defined (HAVE_LIBNETCDF)
static
......
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