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
remove (void) in C++
[simgrid.git]
/
src
/
xbt
/
parmap.cpp
diff --git
a/src/xbt/parmap.cpp
b/src/xbt/parmap.cpp
index
67ed936
..
0423149
100644
(file)
--- a/
src/xbt/parmap.cpp
+++ b/
src/xbt/parmap.cpp
@@
-141,7
+141,7
@@
xbt_parmap_t xbt_parmap_new(unsigned int num_workers, e_xbt_parmap_mode_t mode)
*/
void xbt_parmap_destroy(xbt_parmap_t parmap)
{
- if (
!
parmap) {
+ if (
not
parmap) {
return;
}
@@
-218,6
+218,8
@@
static void xbt_parmap_set_mode(xbt_parmap_t parmap, e_xbt_parmap_mode_t mode)
case XBT_PARMAP_DEFAULT:
THROW_IMPOSSIBLE;
break;
+ default:
+ THROW_IMPOSSIBLE;
}
}