From afc9e5510d9520928480042a56a193dd71db6a01 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sat, 22 Jun 2019 09:59:26 +0200 Subject: Fixed some compilation warnings in non-debug mode. --- plugins/pychrysalide/gtkext/graph/edge.c | 4 ++++ 1 file changed, 4 insertions(+) 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)); -- cgit v0.11.2-87-g4458