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
4939a3fb
Commit
4939a3fb
authored
Apr 08, 2016
by
Thomas Jahns
🤸
Browse files
Change variable name to prevent shadowing.
parent
ca16a274
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pio_server.c
View file @
4939a3fb
...
...
@@ -1057,7 +1057,7 @@ writeGribStream(size_t streamIdx,
{
size_t
varIdx
=
(
size_t
)
-
1
;
int
varID
=
-
1
;
size_t
base
=
0
;
size_t
recordDataOfs
=
0
;
const
double
*
data
=
*
data_
;
for
(
size_t
recordIdx
=
myRecordStart
;
recordIdx
<=
myRecordEnd
;
...
...
@@ -1071,9 +1071,9 @@ writeGribStream(size_t streamIdx,
size_t
nvals
=
recordSize
/
sizeof
(
double
);
int
nmiss
=
countVarChunkMissingVals
(
vlistID
,
varID
,
mapping
,
(
int
)
nvals
,
data
+
base
);
streamWriteVarSlice
(
streamID
,
varID
,
level
,
data
+
base
,
nmiss
);
base
+=
nvals
;
data
+
recordDataOfs
);
streamWriteVarSlice
(
streamID
,
varID
,
level
,
data
+
recordDataOfs
,
nmiss
);
recordDataOfs
+=
nvals
;
}
aggBufFlush
(
streamIdx
,
cdiPioFileWrite
);
}
...
...
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