From: Arnaud Giersch Date: Fri, 13 Jul 2018 13:42:31 +0000 (+0200) Subject: Unused parameters. X-Git-Tag: v3_21~461 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/fe3da1d59262b3c3dc263b78a1afb1357ca7e2d8?hp=bc16e9be4b22e327ec560d9b035197bd484db4e5 Unused parameters. --- diff --git a/teshsuite/msg/host_on_off_processes/host_on_off_processes.cpp b/teshsuite/msg/host_on_off_processes/host_on_off_processes.cpp index a10f8b794a..f84aaed537 100644 --- a/teshsuite/msg/host_on_off_processes/host_on_off_processes.cpp +++ b/teshsuite/msg/host_on_off_processes/host_on_off_processes.cpp @@ -19,7 +19,7 @@ static void task_cleanup_handler(void* task) MSG_task_destroy(static_cast(task)); } -static int process_daemon(int argc, char* argv[]) +static int process_daemon(int /*argc*/, char** /*argv*/) { msg_process_t self = MSG_process_self(); XBT_INFO(" Start daemon on %s (%f)", MSG_host_get_name(MSG_host_self()), MSG_host_get_speed(MSG_host_self())); @@ -36,7 +36,7 @@ static int process_daemon(int argc, char* argv[]) return 0; } -static int process_sleep(int argc, char* argv[]) +static int process_sleep(int /*argc*/, char** /*argv*/) { for (;;) { XBT_INFO(" I'm alive but I should sleep"); @@ -46,7 +46,7 @@ static int process_sleep(int argc, char* argv[]) return 0; } -static int commTX(int argc, char* argv[]) +static int commTX(int /*argc*/, char** /*argv*/) { const char* mailbox = "comm"; XBT_INFO(" Start TX"); @@ -67,7 +67,7 @@ static int commTX(int argc, char* argv[]) return 0; } -static int commRX(int argc, char* argv[]) +static int commRX(int /*argc*/, char** /*argv*/) { msg_task_t task = NULL; const char* mailbox = "comm"; @@ -87,7 +87,7 @@ static int commRX(int argc, char* argv[]) return 0; } -static int test_launcher(int argc, char* argv[]) +static int test_launcher(int /*argc*/, char** /*argv*/) { int test = 0; char** argvF;