Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ab653a94
authored
Apr 20, 2016
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
matpi_network_c: fixed linux warnings
parent
d83a8571
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
mtapi_plugins_c/mtapi_network_c/src/embb_mtapi_network.c
+4
-0
No files found.
mtapi_plugins_c/mtapi_network_c/src/embb_mtapi_network.c
View file @
ab653a94
...
@@ -219,6 +219,7 @@ static void embb_mtapi_network_task_complete(
...
@@ -219,6 +219,7 @@ static void embb_mtapi_network_task_complete(
int
sent
=
embb_mtapi_network_socket_sendbuffer
(
int
sent
=
embb_mtapi_network_socket_sendbuffer
(
&
network_task
->
socket
,
send_buf
);
&
network_task
->
socket
,
send_buf
);
assert
(
sent
==
send_buf
->
size
);
assert
(
sent
==
send_buf
->
size
);
EMBB_UNUSED_IN_RELEASE
(
sent
);
}
}
else
{
else
{
embb_mtapi_network_return_failure
(
embb_mtapi_network_return_failure
(
...
@@ -268,6 +269,7 @@ static mtapi_status_t embb_mtapi_network_handle_start_task(
...
@@ -268,6 +269,7 @@ static mtapi_status_t embb_mtapi_network_handle_start_task(
int32_t
results_size
;
int32_t
results_size
;
void
*
results
;
void
*
results
;
int
err
;
int
err
;
EMBB_UNUSED_IN_RELEASE
(
err
);
int32_t
arguments_size
;
int32_t
arguments_size
;
int32_t
remote_task_id
;
int32_t
remote_task_id
;
...
@@ -394,6 +396,7 @@ static mtapi_status_t embb_mtapi_network_handle_return_result(
...
@@ -394,6 +396,7 @@ static mtapi_status_t embb_mtapi_network_handle_return_result(
int32_t
results_size
;
int32_t
results_size
;
int
err
;
int
err
;
EMBB_UNUSED_IN_RELEASE
(
err
);
mtapi_status_t
local_status
=
MTAPI_ERR_UNKNOWN
;
mtapi_status_t
local_status
=
MTAPI_ERR_UNKNOWN
;
if
(
embb_mtapi_node_is_initialized
())
{
if
(
embb_mtapi_node_is_initialized
())
{
...
@@ -475,6 +478,7 @@ static mtapi_status_t embb_mtapi_network_handle_return_failure(
...
@@ -475,6 +478,7 @@ static mtapi_status_t embb_mtapi_network_handle_return_failure(
int32_t
task_tag
;
int32_t
task_tag
;
int
err
;
int
err
;
EMBB_UNUSED_IN_RELEASE
(
err
);
mtapi_status_t
local_status
=
MTAPI_ERR_UNKNOWN
;
mtapi_status_t
local_status
=
MTAPI_ERR_UNKNOWN
;
if
(
embb_mtapi_node_is_initialized
())
{
if
(
embb_mtapi_node_is_initialized
())
{
...
...
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