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
try to get rid of a warning (without causing a dead store in infer?)
[simgrid.git]
/
src
/
s4u
/
s4u_Comm.cpp
diff --git
a/src/s4u/s4u_Comm.cpp
b/src/s4u/s4u_Comm.cpp
index
cd8ea25
..
e834664
100644
(file)
--- a/
src/s4u/s4u_Comm.cpp
+++ b/
src/s4u/s4u_Comm.cpp
@@
-46,6
+46,7
@@
ssize_t Comm::wait_any_for(const std::vector<CommPtr>& comms, double timeout)
try {
changed_pos = Activity::wait_any_for(activities, timeout);
} catch (const NetworkFailureException& e) {
+ changed_pos = -1;
for (auto c : comms) {
if (c->pimpl_->get_state() == kernel::activity::State::FAILED) {
c->complete(State::FAILED);