Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
782a19c7
Commit
782a19c7
authored
Nov 19, 2013
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pio_interface.c
View file @
782a19c7
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment