A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unused parameters argc/argv.
[simgrid.git]
/
teshsuite
/
msg
/
host_on_off_recv
/
host_on_off_recv.c
diff --git
a/teshsuite/msg/host_on_off_recv/host_on_off_recv.c
b/teshsuite/msg/host_on_off_recv/host_on_off_recv.c
index
3c7b6d8
..
5c4f339
100644
(file)
--- a/
teshsuite/msg/host_on_off_recv/host_on_off_recv.c
+++ b/
teshsuite/msg/host_on_off_recv/host_on_off_recv.c
@@
-10,7
+10,7
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test, "Messages specific for this msg example")
static const char* mailbox = "comm";
static const char* mailbox = "comm";
-static int master(
int argc, char *
argv[])
+static int master(
XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char*
argv[])
{
msg_host_t jupiter = MSG_host_by_name("Jupiter");
{
msg_host_t jupiter = MSG_host_by_name("Jupiter");
@@
-35,7
+35,7
@@
static int master(int argc, char *argv[])
return 0;
}
return 0;
}
-static int slave(
int argc, char *
argv[])
+static int slave(
XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char*
argv[])
{
XBT_INFO("Slave receiving");
msg_task_t task = NULL;
{
XBT_INFO("Slave receiving");
msg_task_t task = NULL;