Commit 03e4ed68 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Instead of function call use already retrieved result.

parent 5f88a0e1
......@@ -1151,7 +1151,7 @@ int cdiStreamDefTimestep_(stream_t *streamptr, int tsID)
streamptr->filetype == FILETYPE_NC2 ||
streamptr->filetype == FILETYPE_NC4 ||
streamptr->filetype == FILETYPE_NC4C)
&& vlistHasTime(vlistID))
&& time_is_varying)
{
void (*myCdfDefTimestep)(stream_t *streamptr, int tsID)
= (void (*)(stream_t *, int))
......
Markdown is supported
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