From a6205e6e4f596a83000329ba6300eb5f6de7c42c Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 23 Apr 2021 19:57:20 -0700 Subject: [PATCH] add a return value to add_edges_in_G Related to #1801. --- lib/ortho/ortho.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ortho/ortho.c b/lib/ortho/ortho.c index ffb43e45a..2c3746b3f 100644 --- a/lib/ortho/ortho.c +++ b/lib/ortho/ortho.c @@ -745,7 +745,7 @@ seg_cmp(segment* S1, segment* S2) return segCmp (S1, S2, B_DOWN, B_UP); } -static void +static int add_edges_in_G(channel* cp) { int x,y; @@ -763,6 +763,8 @@ add_edges_in_G(channel* cp) } } } + + return 0; } static int -- 2.50.1