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
3e6f8486
Commit
3e6f8486
authored
Jan 15, 2013
by
Thomas Jahns
🤸
Browse files
Remove unused struct member.
parent
14107809
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pio_server.c
View file @
3e6f8486
...
...
@@ -36,7 +36,7 @@ extern void arrayDestroy ( void );
static
struct
{
size_t
size
;
unsigned
char
*
buffer
,
*
head
;
unsigned
char
*
buffer
;
int
currentRecord
,
dictSize
;
}
*
rxWin
=
NULL
;
...
...
@@ -147,10 +147,7 @@ static
collDefBufferSizes
();
for
(
modelID
=
0
;
modelID
<
nProcsModel
;
modelID
++
)
{
rxWin
[
modelID
].
buffer
=
xmalloc
(
rxWin
[
modelID
].
size
);
rxWin
[
modelID
].
head
=
rxWin
[
modelID
].
buffer
;
}
rxWin
[
modelID
].
buffer
=
xmalloc
(
rxWin
[
modelID
].
size
);
xdebug
(
"%s"
,
"created mpi_win, allocated getBuffer"
);
}
...
...
@@ -717,7 +714,6 @@ void clearModelWinBuffer(int modelID)
rxWin
[
modelID
].
size
>
0
&&
rxWin
[
modelID
].
size
<=
MAXWINBUFFERSIZE
);
memset
(
rxWin
[
modelID
].
buffer
,
0
,
rxWin
[
modelID
].
size
);
rxWin
[
modelID
].
head
=
rxWin
[
modelID
].
buffer
;
}
...
...
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