X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/92868a100f8eb501bfba3439bab633840553ea20..7ea13a508781359049cc52ad576ba66b2c320721:/src/xbt/graph.c diff --git a/src/xbt/graph.c b/src/xbt/graph.c index a0d6538cc1..5e47cf9598 100644 --- a/src/xbt/graph.c +++ b/src/xbt/graph.c @@ -316,7 +316,6 @@ double *xbt_graph_get_length_matrix(xbt_graph_t g) } xbt_dynar_foreach(g->nodes, cursor, node) { - in_cursor = 0; D(cursor, cursor) = 0; xbt_dynar_foreach(node->out, in_cursor, edge) { @@ -627,7 +626,7 @@ xbt_graph_t xbt_graph_read(const char *filename, ETag_graphxml_edge_fun = __parse_edge; xbt_graph_parse_open(filename); - _XBT_GNUC_UNUSED int res; + XBT_ATTRIB_UNUSED int res; res = xbt_graph_parse(); xbt_assert(!res, "Parse error in %s", filename); xbt_graph_parse_close();