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
coverage madness in examples
[simgrid.git]
/
examples
/
msg
/
io
/
file.c
diff --git
a/examples/msg/io/file.c
b/examples/msg/io/file.c
index
cb5df55
..
e42f2b6
100644
(file)
--- a/
examples/msg/io/file.c
+++ b/
examples/msg/io/file.c
@@
-121,9
+121,5
@@
int main(int argc, char **argv)
res = MSG_main();
XBT_INFO("Simulation time %g", MSG_get_clock());
- if (res == MSG_OK)
- return 0;
- else
- return 1;
-
+ return res != MSG_OK;
}