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
[sonar] Reduce number of nested code blocks.
[simgrid.git]
/
src
/
xbt
/
graph.c
diff --git
a/src/xbt/graph.c
b/src/xbt/graph.c
index 3dfe275891cfad54ca6316e1314e1ea9b623fada..9801b9b66ebd4ddb102921d2861b1bd3fd9840a8 100644
(file)
--- a/
src/xbt/graph.c
+++ b/
src/xbt/graph.c
@@
-101,13
+101,13
@@
void xbt_graph_node_set_data(xbt_node_t node, void *data)
node->data = data;
}
node->data = data;
}
-/** @brief Get the user data associated to a edge */
+/** @brief Get the user data associated to a
n
edge */
void* xbt_graph_edge_get_data(const s_xbt_edge_t* edge)
{
return edge->data;
}
void* xbt_graph_edge_get_data(const s_xbt_edge_t* edge)
{
return edge->data;
}
-/** @brief Set the user data associated to a edge */
+/** @brief Set the user data associated to a
n
edge */
void xbt_graph_edge_set_data(xbt_edge_t edge, void *data)
{
edge->data = data;
void xbt_graph_edge_set_data(xbt_edge_t edge, void *data)
{
edge->data = data;