Skip to content
GitLab
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
d47a4bc4
Commit
d47a4bc4
authored
Oct 08, 2013
by
Uwe Schulzweida
Browse files
listSizeExtend: initialize ops, val and status (Bug #3994)
parent
00c53007
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
d47a4bc4
...
...
@@ -3,6 +3,10 @@
* Version 1.6.2 released
* using CGRIBEX library version 1.6.2
2013-10-07 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* listSizeExtend: initialize ops, val and status (Bug #3994)
2013-10-07 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* stream_cdf::isLonAxis/isLatAxis: case sensitive units check
...
...
src/resource_handle.c
View file @
d47a4bc4
...
...
@@ -194,8 +194,11 @@ void listSizeExtend()
for
(
int
i
=
oldSize
;
i
<
newListSize
;
++
i
)
{
resHList
[
nsp
].
resources
[
i
].
resH
=
namespaceIdxEncode2
(
nsp
,
i
);
resHList
[
nsp
].
resources
[
i
].
next
=
i
+
1
;
resHList
[
nsp
].
resources
[
i
].
resH
=
namespaceIdxEncode2
(
nsp
,
i
);
resHList
[
nsp
].
resources
[
i
].
next
=
i
+
1
;
resHList
[
nsp
].
resources
[
i
].
ops
=
NULL
;
resHList
[
nsp
].
resources
[
i
].
val
=
NULL
;
resHList
[
nsp
].
resources
[
i
].
status
=
RESH_UNDEFID
;
}
resHList
[
nsp
].
resources
[
newListSize
-
1
].
next
=
resHList
[
nsp
].
freeHead
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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