From dd92ea29412d5cade5094865094df25988e47a29 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 23 Apr 2021 20:00:15 -0700 Subject: [PATCH] add a return vaule to add_p_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 0b847acc0..716b2a724 100644 --- a/lib/ortho/ortho.c +++ b/lib/ortho/ortho.c @@ -1063,7 +1063,7 @@ addPEdges (channel* cp, maze* mp) } } -static void +static int add_p_edges (Dt_t* chans, maze* mp) { Dt_t* lp; @@ -1076,6 +1076,8 @@ add_p_edges (Dt_t* chans, maze* mp) addPEdges ((channel*)l2, mp); } } + + return 0; } static int -- 2.40.0