Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
3664cecd
Commit
3664cecd
authored
Oct 02, 2015
by
Thomas Jahns
🤸
Browse files
Narrow scope of variable.
parent
3e198b8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/varscan.c
View file @
3664cecd
...
...
@@ -991,7 +991,6 @@ int varDefZaxis(int vlistID, int zaxistype, int nlevels, double *levels, int lbo
int
zaxisdefined
=
0
;
int
nzaxis
;
int
zaxisID
=
UNDEFID
;
int
index
;
int
zaxisglobdefined
=
0
;
vlist_t
*
vlistptr
;
...
...
@@ -1000,7 +999,7 @@ int varDefZaxis(int vlistID, int zaxistype, int nlevels, double *levels, int lbo
nzaxis
=
vlistptr
->
nzaxis
;
if
(
mode
==
0
)
for
(
index
=
0
;
index
<
nzaxis
;
index
++
)
for
(
int
index
=
0
;
index
<
nzaxis
;
index
++
)
{
zaxisID
=
vlistptr
->
zaxisIDs
[
index
];
...
...
Write
Preview
Markdown
is supported
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