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
kill all trailling whitespaces
[simgrid.git]
/
src
/
xbt
/
backtrace_linux.cpp
diff --git
a/src/xbt/backtrace_linux.cpp
b/src/xbt/backtrace_linux.cpp
index
c61c519
..
8760a89
100644
(file)
--- a/
src/xbt/backtrace_linux.cpp
+++ b/
src/xbt/backtrace_linux.cpp
@@
-220,7
+220,6
@@
std::vector<std::string> resolveBacktrace(
char maps_buff[512];
long int offset = 0;
char* p;
char maps_buff[512];
long int offset = 0;
char* p;
- char* p2;
int found = 0;
/* let's look for the offset of this library in our addressing space */
int found = 0;
/* let's look for the offset of this library in our addressing space */
@@
-282,7
+281,7
@@
std::vector<std::string> resolveBacktrace(
free(p);
snprintf(line_func,3, "??");
} else {
free(p);
snprintf(line_func,3, "??");
} else {
- p2 = strrchr(p, '(');
+
char*
p2 = strrchr(p, '(');
if (p2)
*p2 = '\0';
p2 = strrchr(p, ' ');
if (p2)
*p2 = '\0';
p2 = strrchr(p, ' ');