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
afa6a46a
Commit
afa6a46a
authored
Jul 25, 2012
by
Thomas Jahns
🤸
Browse files
Replace single-use variable with literal.
parent
fe19e89b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pio_server.c
View file @
afa6a46a
...
...
@@ -346,7 +346,7 @@ static
static
void
getData
(
int
tsID
,
int
vdate
,
int
vtime
)
{
int
iAssert
=
0
,
modelID
;
int
modelID
;
char
text
[
1024
];
int
nProcsModel
=
commInqNProcsModel
();
void
*
getWinBaseAddr
;
...
...
@@ -356,7 +356,7 @@ void getData ( int tsID, int vdate, int vtime )
// todo put in correct lbs and ubs
xassert
(
tsID
>=
0
&&
vdate
>=
0
&&
vtime
>=
0
);
xmpi
(
MPI_Win_start
(
groupModel
,
iAssert
,
getWin
));
xmpi
(
MPI_Win_start
(
groupModel
,
0
,
getWin
));
xmpi
(
MPI_Win_get_attr
(
getWin
,
MPI_WIN_BASE
,
&
getWinBaseAddr
,
&
attrFound
));
xassert
(
attrFound
);
for
(
modelID
=
0
;
modelID
<
nProcsModel
;
modelID
++
)
...
...
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