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
d344234b
Commit
d344234b
authored
Oct 22, 2012
by
Uwe Schulzweida
Browse files
defineAttributes: skip atts with len = 0
parent
43b37963
Changes
1
Show whitespace changes
Inline
Side-by-side
src/stream_cdf.c
View file @
d344234b
...
...
@@ -447,6 +447,8 @@ void defineAttributes(int vlistID, int varID, int fileID, int ncvarID)
{
vlistInqAtt
(
vlistID
,
varID
,
iatt
,
attname
,
&
atttype
,
&
attlen
);
if
(
attlen
==
0
)
continue
;
if
(
atttype
==
DATATYPE_TXT
)
{
char
*
atttxt
;
...
...
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