Commit 782a19c7 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix test for data pointer.

* It is allowed to be NULL when no data is passed on a process.
parent 644f26aa
......@@ -891,7 +891,8 @@ streamWriteVarPart(int streamID, int varID, const void *data,
{
if ( CDI_Debug ) Message("streamID = %d varID = %d", streamID, varID);
check_parg(data);
int chunk = xt_idxlist_get_num_indices(partDesc);
xassert(chunk == 0 || data);
void (*myStreamWriteVarPart)(int streamID, int varID, const void *data,
int nmiss, Xt_idxlist partDesc)
......
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