From 2707b3d3b138434401dca8f67e9bb6e05f99ed1a Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Fri, 23 Apr 2021 19:53:05 -0700 Subject: [PATCH] add a return value to assignTracks 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 b8cee0f0d..f760d13b3 100644 --- a/lib/ortho/ortho.c +++ b/lib/ortho/ortho.c @@ -1072,7 +1072,7 @@ add_p_edges (Dt_t* chans, maze* mp) } } -static void +static int assignTracks (maze* mp) { /* Create the graphs for each channel */ @@ -1090,6 +1090,8 @@ assignTracks (maze* mp) /* Assign the tracks after a top sort */ assignTrackNo (mp->hchans); assignTrackNo (mp->vchans); + + return 0; } static double -- 2.50.1