summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/gtkext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-06-22 07:59:26 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-06-22 07:59:26 (GMT)
commitafc9e5510d9520928480042a56a193dd71db6a01 (patch)
treeaa86ee2daa8d8b45e8d24da5586c2170c3bb1b0d /plugins/pychrysalide/gtkext
parent551dda2ba526b930b84b9daef2b238abc140bf98 (diff)
Fixed some compilation warnings in non-debug mode.
Diffstat (limited to 'plugins/pychrysalide/gtkext')
-rw-r--r--plugins/pychrysalide/gtkext/graph/edge.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/pychrysalide/gtkext/graph/edge.c b/plugins/pychrysalide/gtkext/graph/edge.c
index 3f24ea4..60d5bb7 100644
--- a/plugins/pychrysalide/gtkext/graph/edge.c
+++ b/plugins/pychrysalide/gtkext/graph/edge.c
@@ -71,7 +71,9 @@ static PyObject *py_graph_edge_get_boundaries(PyObject *self, void *closure)
GGraphEdge *edge; /* Version GLib du type */
GCodeBlock *src; /* Bloc d'origine */
GCodeBlock *dst; /* Bloc de destination */
+#ifndef NDEBUG
int ret; /* Bilan d'une insertion */
+#endif
edge = G_GRAPH_EDGE(pygobject_get(self));
@@ -152,7 +154,9 @@ static PyObject *py_graph_edge_get_points(PyObject *self, void *closure)
const GdkPoint *points; /* Ensemble de points du lien */
size_t i; /* Boucle de parcours */
PyObject *obj; /* Objet Python à insérer */
+#ifndef NDEBUG
int ret; /* Bilan d'une insertion */
+#endif
edge = G_GRAPH_EDGE(pygobject_get(self));