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
[platf] Move sg_platf_new_process in platf.cpp
[simgrid.git]
/
src
/
surf
/
surfxml_parse.c
diff --git
a/src/surf/surfxml_parse.c
b/src/surf/surfxml_parse.c
index
306050c
..
a7b0705
100644
(file)
--- a/
src/surf/surfxml_parse.c
+++ b/
src/surf/surfxml_parse.c
@@
-14,7
+14,7
@@
#include "xbt/file.h"
#include "xbt/dict.h"
#include "surf/surfxml_parse.h"
#include "xbt/file.h"
#include "xbt/dict.h"
#include "surf/surfxml_parse.h"
-#include "surf/surf_private.h"
+#include "s
rc/s
urf/surf_private.h"
#include "surf/random_mgr.h"
#include "simgrid/sg_config.h"
#include "surf/random_mgr.h"
#include "simgrid/sg_config.h"
@@
-374,7
+374,7
@@
void surf_parse_free_callbacks(void)
/* Stag and Etag parse functions */
void STag_surfxml_platform(void) {
/* Stag and Etag parse functions */
void STag_surfxml_platform(void) {
-
_XBT_GNUC
_UNUSED double version = surf_parse_get_double(A_surfxml_platform_version);
+
XBT_ATTRIB
_UNUSED double version = surf_parse_get_double(A_surfxml_platform_version);
xbt_assert((version >= 1.0), "******* BIG FAT WARNING *********\n "
"You're using an ancient XML file.\n"
xbt_assert((version >= 1.0), "******* BIG FAT WARNING *********\n "
"You're using an ancient XML file.\n"
@@
-479,6
+479,7
@@
void ETag_surfxml_host(void) {
host.coord = A_surfxml_host_coordinates;
sg_platf_new_host(&host);
host.coord = A_surfxml_host_coordinates;
sg_platf_new_host(&host);
+ xbt_dynar_free(&host.power_peak);
current_property_set = NULL;
}
current_property_set = NULL;
}