From: Matthew Fernandez Date: Sat, 24 Apr 2021 03:01:47 +0000 (-0700) Subject: add a return value to addPEdges X-Git-Tag: 2.47.2~13^2~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d718dd4c47459655e890290530be3a1423232c2;p=graphviz add a return value to addPEdges Related to #1801. --- diff --git a/lib/ortho/ortho.c b/lib/ortho/ortho.c index ff9d89960..13f01bbce 100644 --- a/lib/ortho/ortho.c +++ b/lib/ortho/ortho.c @@ -989,7 +989,7 @@ removeEdge(segment* seg1, segment* seg2, int dir, maze* mp) remove_redge (chan->G, ptr1->ind_no, ptr2->ind_no); } -static void +static int addPEdges (channel* cp, maze* mp) { int i,j; @@ -1061,6 +1061,8 @@ addPEdges (channel* cp, maze* mp) } } } + + return 0; } static int