Commit 973e9719 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Substitute expression for temporary variable.

parent 567b01ce
......@@ -235,8 +235,6 @@ readFuncCall(struct winHeaderEntry *header)
int streamID = funcArgs->streamNewTimestep.streamID;
int nspTarget = namespaceResHDecode(streamID).nsp;
streamID = namespaceAdaptKey2(streamID);
int tsID
= funcArgs->streamNewTimestep.tsID;
int oldTaxisID
= vlistInqTaxis(streamInqVlist(streamID));
int position = header->offset;
......@@ -247,7 +245,7 @@ readFuncCall(struct winHeaderEntry *header)
taxis_t *changedTaxisPtr = taxisPtr(changedTaxisID);
ptaxisCopy(oldTaxisPtr, changedTaxisPtr);
taxisDestroy(changedTaxisID);
streamDefTimestep(streamID, tsID);
streamDefTimestep(streamID, funcArgs->streamNewTimestep.tsID);
}
break;
default:
......
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