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
Parameter for cleanup callback won't be null.
[simgrid.git]
/
teshsuite
/
msg
/
host_on_off_processes
/
host_on_off_processes.cpp
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
5c52339
..
b4a467a
100644
(file)
--- a/
teshsuite/msg/host_on_off_processes/host_on_off_processes.cpp
+++ b/
teshsuite/msg/host_on_off_processes/host_on_off_processes.cpp
@@
-15,8
+15,7
@@
int tasks_done = 0;
static void task_cleanup_handler(void* task)
{
static void task_cleanup_handler(void* task)
{
- if (task)
- MSG_task_destroy(static_cast<msg_task_t>(task));
+ MSG_task_destroy(static_cast<msg_task_t>(task));
}
static int process_daemon(int /*argc*/, char** /*argv*/)
}
static int process_daemon(int /*argc*/, char** /*argv*/)