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
Don't use pass-by-value for large parameters.
[simgrid.git]
/
src
/
xbt
/
dynar.cpp
diff --git
a/src/xbt/dynar.cpp
b/src/xbt/dynar.cpp
index
1bd60bb
..
6b9a739
100644
(file)
--- a/
src/xbt/dynar.cpp
+++ b/
src/xbt/dynar.cpp
@@
-444,7
+444,6
@@
unsigned int xbt_dynar_search(xbt_dynar_t const dynar, void* const elem)
}
THROWF(not_found_error, 0, "Element %p not part of dynar %p", elem, dynar);
- return 0; // Won't happen, just to please eclipse
}
/** @brief Returns the position of the element in the dynar (or -1 if not found)