From 3e8b111769e2230d809b318228335c3796bf9b35 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 23 Apr 2021 19:55:12 -0700 Subject: [PATCH] add a return value to add_np_edges 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 b7bfe7d6d..7e00216ca 100644 --- a/lib/ortho/ortho.c +++ b/lib/ortho/ortho.c @@ -765,7 +765,7 @@ add_edges_in_G(channel* cp) } } -static void +static int add_np_edges (Dt_t* chans) { Dt_t* lp; @@ -781,6 +781,8 @@ add_np_edges (Dt_t* chans) add_edges_in_G(cp); } } + + return 0; } static segment* -- 2.40.0