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 smells of the day.
[simgrid.git]
/
src
/
mc
/
mc_dwarf.cpp
diff --git
a/src/mc/mc_dwarf.cpp
b/src/mc/mc_dwarf.cpp
index
e7ae570
..
daedf1a
100644
(file)
--- a/
src/mc/mc_dwarf.cpp
+++ b/
src/mc/mc_dwarf.cpp
@@
-815,10
+815,10
@@
static std::unique_ptr<simgrid::mc::Variable> MC_die_to_variable(
// The current code needs a variable name,
// generate a fake one:
// The current code needs a variable name,
// generate a fake one:
- if (variable->name.empty())
- variable->name =
-
"@anonymous#" + std::to_string(mc_anonymous_variable_index++)
;
-
+ if (variable->name.empty())
{
+ variable->name =
"@anonymous#" + std::to_string(mc_anonymous_variable_index);
+
mc_anonymous_variable_index++
;
+ }
return variable;
}
return variable;
}