Commit a0b63d88 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Simplify query function.

parent a10eb91c
......@@ -2186,9 +2186,8 @@ void streamGetIndexList ( int nstreams, int * streamIndexList )
int streamInqNvars ( int streamID )
{
stream_t * streamptr;
streamptr = ( stream_t * ) reshGetVal ( streamID, &streamOps );
return ( streamptr->nvars );
stream_t *streamptr = reshGetVal(streamID, &streamOps);
return streamptr->nvars;
}
......
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