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
[sonar] Constify pointer and reference local variables in teshsuite/.
[simgrid.git]
/
teshsuite
/
mc
/
mutex-handling
/
mutex-handling.c
diff --git
a/teshsuite/mc/mutex-handling/mutex-handling.c
b/teshsuite/mc/mutex-handling/mutex-handling.c
index
c367cdf
..
8eff02a
100644
(file)
--- a/
teshsuite/mc/mutex-handling/mutex-handling.c
+++ b/
teshsuite/mc/mutex-handling/mutex-handling.c
@@
-48,7
+48,7
@@
static int receiver(XBT_ATTRIB_UNUSED int argc, XBT_ATTRIB_UNUSED char* argv[])
static int sender(int argc, char *argv[])
{
xbt_assert(argc == 2);
- char* message_name = argv[1];
+ c
onst c
har* message_name = argv[1];
#ifndef DISABLE_THE_MUTEX
sg_mutex_lock(mutex);
#endif