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
/
get_sender
/
get_sender.c
diff --git
a/teshsuite/msg/get_sender/get_sender.c
b/teshsuite/msg/get_sender/get_sender.c
index
821d5d8
..
eb97efd
100644
(file)
--- a/
teshsuite/msg/get_sender/get_sender.c
+++ b/
teshsuite/msg/get_sender/get_sender.c
@@
-8,7
+8,7
@@
#include <float.h>
XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Messages specific to this example");
#include <float.h>
XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Messages specific to this example");
-static int sender_fun(
int argc, char *
argv[])
+static int sender_fun(
XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char*
argv[])
{
XBT_INFO("Sending");
MSG_task_send(MSG_task_create("Blah", 0.0, 0.0, NULL), MSG_host_get_name(MSG_host_self()));
{
XBT_INFO("Sending");
MSG_task_send(MSG_task_create("Blah", 0.0, 0.0, NULL), MSG_host_get_name(MSG_host_self()));
@@
-17,7
+17,7
@@
static int sender_fun(int argc, char *argv[])
return 0;
}
return 0;
}
-static int receiver_fun(
int argc, char *
argv[])
+static int receiver_fun(
XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char*
argv[])
{
XBT_INFO("Receiving");
msg_task_t task = NULL;
{
XBT_INFO("Receiving");
msg_task_t task = NULL;