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
Do not duplicate host name uselessly.
[simgrid.git]
/
src
/
surf
/
surfxml_parse.c
diff --git
a/src/surf/surfxml_parse.c
b/src/surf/surfxml_parse.c
index
af80730
..
9244f2d
100644
(file)
--- a/
src/surf/surfxml_parse.c
+++ b/
src/surf/surfxml_parse.c
@@
-16,6
+16,8
@@
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_parse, surf,
#undef CLEANUP
#include "simgrid_dtd.c"
#undef CLEANUP
#include "simgrid_dtd.c"
+char *platform_filename;
+
/* Initialize the parsing globals */
xbt_dict_t traces_set_list = NULL;
xbt_dict_t trace_connect_list_host_avail = NULL;
/* Initialize the parsing globals */
xbt_dict_t traces_set_list = NULL;
xbt_dict_t trace_connect_list_host_avail = NULL;
@@
-454,7
+456,8
@@
void surfxml_del_callback(xbt_dynar_t cb_list, void_f_void_t function)
TRY {
it = xbt_dynar_search(cb_list,&function);
TRY {
it = xbt_dynar_search(cb_list,&function);
- } CATCH(e) {
+ }
+ CATCH(e) {
if (e.category == not_found_error) {
xbt_ex_free(e);
xbt_die("Trying to remove a callback that is not here! This should not happen");
if (e.category == not_found_error) {
xbt_ex_free(e);
xbt_die("Trying to remove a callback that is not here! This should not happen");