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
6e09bbba
Commit
6e09bbba
authored
Jan 11, 2017
by
Thomas Jahns
🤸
Browse files
Move constant data to text segment.
parent
0d8446e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf_i.c
View file @
6e09bbba
...
...
@@ -3014,7 +3014,7 @@ void cdf_define_all_vars(stream_t *streamptr, int vlistID, int instID, int model
int
ndims
=
ncvars
[
ncvarid
].
ndims
;
int
iodim
=
0
;
int
ixyz
=
0
;
int
ipow10
[
4
]
=
{
1
,
10
,
100
,
1000
};
static
const
int
ipow10
[
4
]
=
{
1
,
10
,
100
,
1000
};
if
(
ncvars
[
ncvarid
].
tsteptype
!=
TSTEP_CONSTANT
)
iodim
++
;
...
...
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