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
cosmetics
[simgrid.git]
/
src
/
surf
/
surfxml_parseplatf.c
diff --git
a/src/surf/surfxml_parseplatf.c
b/src/surf/surfxml_parseplatf.c
index
1a5965d
..
7a6cd0e
100644
(file)
--- a/
src/surf/surfxml_parseplatf.c
+++ b/
src/surf/surfxml_parseplatf.c
@@
-49,12
+49,6
@@
void surfxml_bufferstack_pop(int new)
}
}
}
}
-/*
- * Pass arguments to parsing callback as structures to save some time (and allow callbacks to ignore some)
- */
-
-surf_parsing_cluster_arg_t struct_cluster = NULL;
-
/*
* Trace related stuff
*/
/*
* Trace related stuff
*/
@@
-82,10
+76,9
@@
static void parse_Etag_trace(void)
tmgr_trace_t trace;
if (!trace_file || strcmp(trace_file, "") != 0) {
trace = tmgr_trace_new(trace_file);
tmgr_trace_t trace;
if (!trace_file || strcmp(trace_file, "") != 0) {
trace = tmgr_trace_new(trace_file);
- } else {
- if (strcmp(surfxml_pcdata, "") == 0)
+ } else if (strcmp(surfxml_pcdata, "") == 0) {
trace = NULL;
trace = NULL;
- else
+ } else {
trace =
tmgr_trace_new_from_string(trace_id, surfxml_pcdata,
trace_periodicity);
trace =
tmgr_trace_new_from_string(trace_id, surfxml_pcdata,
trace_periodicity);