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